Commit e0530460 authored by Radek Pilař (Mrkva)'s avatar Radek Pilař (Mrkva) Committed by Tony Lindgren

OMAP3 Touchbook: fix board initialization

init_early hook runs too early for omap3_mux_init(), so the board
won't boot. Moved to init_machine, then it works just fine.
Signed-off-by: default avatarRadek Pilar <mrkva@mrkva.eu>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 589541c0
...@@ -417,7 +417,6 @@ static struct omap_board_mux board_mux[] __initdata = { ...@@ -417,7 +417,6 @@ static struct omap_board_mux board_mux[] __initdata = {
static void __init omap3_touchbook_init_early(void) static void __init omap3_touchbook_init_early(void)
{ {
omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
omap_board_config = omap3_touchbook_config; omap_board_config = omap3_touchbook_config;
omap_board_config_size = ARRAY_SIZE(omap3_touchbook_config); omap_board_config_size = ARRAY_SIZE(omap3_touchbook_config);
omap2_init_common_infrastructure(); omap2_init_common_infrastructure();
...@@ -514,6 +513,7 @@ static struct omap_musb_board_data musb_board_data = { ...@@ -514,6 +513,7 @@ static struct omap_musb_board_data musb_board_data = {
static void __init omap3_touchbook_init(void) static void __init omap3_touchbook_init(void)
{ {
omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
pm_power_off = omap3_touchbook_poweroff; pm_power_off = omap3_touchbook_poweroff;
omap3_touchbook_i2c_init(); omap3_touchbook_i2c_init();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment