ARM: ux500: get rid of static maps
The static mappings of the GPIO blocks, clock/reset controller and MTU timer are clearly superfluous. These are all probed exclusively from the device tree. Tested on the U8500. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
3ebee5a2e1
commit
16ec30ef99
@ -48,25 +48,14 @@ static struct map_desc u8500_uart_io_desc[] __initdata = {
|
||||
__IO_DEV_DESC(U8500_UART0_BASE, SZ_4K),
|
||||
__IO_DEV_DESC(U8500_UART2_BASE, SZ_4K),
|
||||
};
|
||||
|
||||
/* U8500 and U9540 common io_desc */
|
||||
static struct map_desc u8500_common_io_desc[] __initdata = {
|
||||
/* SCU base also covers GIC CPU BASE and TWD with its 4K page */
|
||||
__IO_DEV_DESC(U8500_SCU_BASE, SZ_4K),
|
||||
__IO_DEV_DESC(U8500_GIC_DIST_BASE, SZ_4K),
|
||||
__IO_DEV_DESC(U8500_L2CC_BASE, SZ_4K),
|
||||
__IO_DEV_DESC(U8500_MTU0_BASE, SZ_4K),
|
||||
__IO_DEV_DESC(U8500_BACKUPRAM0_BASE, SZ_8K),
|
||||
|
||||
__IO_DEV_DESC(U8500_CLKRST1_BASE, SZ_4K),
|
||||
__IO_DEV_DESC(U8500_CLKRST2_BASE, SZ_4K),
|
||||
__IO_DEV_DESC(U8500_CLKRST3_BASE, SZ_4K),
|
||||
__IO_DEV_DESC(U8500_CLKRST5_BASE, SZ_4K),
|
||||
__IO_DEV_DESC(U8500_CLKRST6_BASE, SZ_4K),
|
||||
|
||||
__IO_DEV_DESC(U8500_GPIO0_BASE, SZ_4K),
|
||||
__IO_DEV_DESC(U8500_GPIO1_BASE, SZ_4K),
|
||||
__IO_DEV_DESC(U8500_GPIO2_BASE, SZ_4K),
|
||||
__IO_DEV_DESC(U8500_GPIO3_BASE, SZ_4K),
|
||||
};
|
||||
|
||||
/* U8500 IO map specific description */
|
||||
|
Loading…
x
Reference in New Issue
Block a user