|
@@ -43,12 +43,6 @@ static struct prcmu_pdata db8500_prcmu_pdata = {
|
|
|
.legacy_offset = DB8500_PRCMU_LEGACY_OFFSET,
|
|
|
};
|
|
|
|
|
|
-/* minimum static i/o mapping required to boot U8500 platforms */
|
|
|
-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 */
|
|
@@ -73,11 +67,7 @@ static struct map_desc u9540_io_desc[] __initdata = {
|
|
|
|
|
|
static void __init u8500_map_io(void)
|
|
|
{
|
|
|
- /*
|
|
|
- * Map the UARTs early so that the DEBUG_LL stuff continues to work.
|
|
|
- */
|
|
|
- iotable_init(u8500_uart_io_desc, ARRAY_SIZE(u8500_uart_io_desc));
|
|
|
-
|
|
|
+ debug_ll_io_init();
|
|
|
ux500_map_io();
|
|
|
|
|
|
iotable_init(u8500_common_io_desc, ARRAY_SIZE(u8500_common_io_desc));
|