Move omap_serial_init() to happen after board specific map_io().
Patch based on Kyungmin Park's suggestion.
platform_add_devices(h2_devices, ARRAY_SIZE(h2_devices));
omap_board_config = h2_config;
omap_board_config_size = ARRAY_SIZE(h2_config);
+ omap_serial_init();
}
static void __init h2_map_io(void)
{
omap_map_common_io();
- omap_serial_init();
}
MACHINE_START(OMAP_H2, "TI-H2")
};
static struct omap_board_config_kernel h3_config[] = {
- { OMAP_TAG_USB, &h3_usb_config },
- { OMAP_TAG_MMC, &h3_mmc_config },
+ { OMAP_TAG_USB, &h3_usb_config },
+ { OMAP_TAG_MMC, &h3_mmc_config },
{ OMAP_TAG_UART, &h3_uart_config },
};
(void) platform_add_devices(devices, ARRAY_SIZE(devices));
omap_board_config = h3_config;
omap_board_config_size = ARRAY_SIZE(h3_config);
+ omap_serial_init();
}
static void __init h3_init_smc91x(void)
static void __init h3_map_io(void)
{
omap_map_common_io();
- omap_serial_init();
}
MACHINE_START(OMAP_H3, "TI OMAP1710 H3 board")
#endif
omap_board_config = innovator_config;
omap_board_config_size = ARRAY_SIZE(innovator_config);
+ omap_serial_init();
}
static void __init innovator_map_io(void)
fpga_read(OMAP1510_FPGA_BOARD_REV));
}
#endif
- omap_serial_init();
}
MACHINE_START(OMAP_INNOVATOR, "TI-Innovator")
omap_board_config = netstar_config;
omap_board_config_size = ARRAY_SIZE(netstar_config);
+ omap_serial_init();
}
static void __init netstar_map_io(void)
{
omap_map_common_io();
- omap_serial_init();
}
#define MACHINE_PANICED 1
omap_board_config_size = ARRAY_SIZE(osk_config);
USB_TRANSCEIVER_CTRL_REG |= (3 << 1);
+ omap_serial_init();
osk_mistral_init();
}
static void __init osk_map_io(void)
{
omap_map_common_io();
- omap_serial_init();
}
MACHINE_START(OMAP_OSK, "TI-OSK")
omap_board_config = perseus2_config;
omap_board_config_size = ARRAY_SIZE(perseus2_config);
+ omap_serial_init();
}
static void __init perseus2_init_smc91x(void)
* It is used as the Ethernet controller interrupt
*/
omap_writel(omap_readl(OMAP730_IO_CONF_9) & 0x1FFFFFFF, OMAP730_IO_CONF_9);
- omap_serial_init();
}
MACHINE_START(OMAP_PERSEUS2, "OMAP730 Perseus2")
platform_add_devices(voiceblue_devices, ARRAY_SIZE(voiceblue_devices));
omap_board_config = voiceblue_config;
omap_board_config_size = ARRAY_SIZE(voiceblue_config);
+ omap_serial_init();
/* There is a good chance board is going up, so enable power LED
* (it is connected through invertor) */
static void __init voiceblue_map_io(void)
{
omap_map_common_io();
- omap_serial_init();
}
#define MACHINE_PANICED 1