Skip to content

Commit

Permalink
OMAP3 Touchbook: fix board initialization
Browse files Browse the repository at this point in the history
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: Radek Pilar <mrkva@mrkva.eu>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Radek Pilař (Mrkva) authored and Tony Lindgren committed Feb 25, 2011
1 parent 589541c commit e053046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/board-omap3touchbook.c
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,6 @@ static struct omap_board_mux board_mux[] __initdata = {

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_size = ARRAY_SIZE(omap3_touchbook_config);
omap2_init_common_infrastructure();
Expand Down Expand Up @@ -514,6 +513,7 @@ static struct omap_musb_board_data musb_board_data = {

static void __init omap3_touchbook_init(void)
{
omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
pm_power_off = omap3_touchbook_poweroff;

omap3_touchbook_i2c_init();
Expand Down

0 comments on commit e053046

Please sign in to comment.