This patchseries removes a few unused register definitions from the au1000.h header, changes registers to offsets from block base and finally removes the au_read/au_write and au_sync* functions. A large part of the change is the move of all c-code (enums, structs, inline functions) below the register definitions so that the helpers to access SYS_ and MEM_ blocks actually compile (they depend on block base address definitions). Run-tested on a few DB1xx boards, compile tested MTX-1 and GPR targets. Manuel Lauss (6): MIPS: Alchemy: au1000.h: remove unused register definitions MIPS: Alchemy: move ethernet registers to ethernet driver MIPS: Alchemy: au1000.h move C-code after register definitions. MIPS: Alchemy: introduce helpers to access SYS register block. MIPS: Alchemy: add helpers to access static memory ctrl registers. MIPS: Alchemy: remove au_read/write/sync arch/mips/alchemy/board-mtx1.c | 4 +- arch/mips/alchemy/board-xxs1500.c | 4 +- arch/mips/alchemy/common/clocks.c | 6 +- arch/mips/alchemy/common/dbdma.c | 22 +- arch/mips/alchemy/common/dma.c | 15 +- arch/mips/alchemy/common/irq.c | 5 +- arch/mips/alchemy/common/platform.c | 2 +- arch/mips/alchemy/common/power.c | 74 +- arch/mips/alchemy/common/time.c | 23 +- arch/mips/alchemy/devboards/db1000.c | 5 +- arch/mips/alchemy/devboards/db1200.c | 21 +- arch/mips/alchemy/devboards/db1300.c | 2 +- arch/mips/alchemy/devboards/db1550.c | 14 +- arch/mips/alchemy/devboards/pm.c | 39 +- arch/mips/include/asm/mach-au1x00/au1000.h | 2546 ++++++++++------------- arch/mips/include/asm/mach-au1x00/au1000_dma.h | 50 +- arch/mips/include/asm/mach-au1x00/gpio-au1000.h | 56 +- drivers/mmc/host/au1xmmc.c | 169 +- drivers/mtd/nand/au1550nd.c | 29 +- drivers/net/ethernet/amd/au1000_eth.c | 149 +- drivers/rtc/rtc-au1xxx.c | 18 +- drivers/spi/spi-au1550.c | 66 +- drivers/video/fbdev/au1100fb.c | 15 +- drivers/video/fbdev/au1200fb.c | 37 +- sound/soc/au1x/psc-ac97.c | 140 +- sound/soc/au1x/psc-i2s.c | 100 +- sound/soc/au1x/psc.h | 22 +- 27 files changed, 1719 insertions(+), 1914 deletions(-) -- 2.0.1