diff options
author | Tony Lindgren <tony@atomide.com> | 2011-02-24 17:36:03 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-02-25 13:19:21 -0500 |
commit | e41cccfe794d188b0ae7f17f01692bcbc0e0dc87 (patch) | |
tree | c4c38c9738f582f93e66839ccb25347c6dadbf27 /arch/arm/mach-omap2/board-am3517crane.c | |
parent | e0530460f6bc268b446040f1973d427d21f042d9 (diff) |
omap2+: Minimize board specific init_early calls
We should only call init_common_infrastructure and
init_common_devices from init_early.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-am3517crane.c')
-rw-r--r-- | arch/arm/mach-omap2/board-am3517crane.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/board-am3517crane.c b/arch/arm/mach-omap2/board-am3517crane.c index ae3a83d47dab..f53bbb2c3478 100644 --- a/arch/arm/mach-omap2/board-am3517crane.c +++ b/arch/arm/mach-omap2/board-am3517crane.c | |||
@@ -51,9 +51,6 @@ static struct omap_board_mux board_mux[] __initdata = { | |||
51 | 51 | ||
52 | static void __init am3517_crane_init_early(void) | 52 | static void __init am3517_crane_init_early(void) |
53 | { | 53 | { |
54 | omap_board_config = am3517_crane_config; | ||
55 | omap_board_config_size = ARRAY_SIZE(am3517_crane_config); | ||
56 | |||
57 | omap2_init_common_infrastructure(); | 54 | omap2_init_common_infrastructure(); |
58 | omap2_init_common_devices(NULL, NULL); | 55 | omap2_init_common_devices(NULL, NULL); |
59 | } | 56 | } |
@@ -76,6 +73,9 @@ static void __init am3517_crane_init(void) | |||
76 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 73 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
77 | omap_serial_init(); | 74 | omap_serial_init(); |
78 | 75 | ||
76 | omap_board_config = am3517_crane_config; | ||
77 | omap_board_config_size = ARRAY_SIZE(am3517_crane_config); | ||
78 | |||
79 | /* Configure GPIO for EHCI port */ | 79 | /* Configure GPIO for EHCI port */ |
80 | if (omap_mux_init_gpio(GPIO_USB_NRESET, OMAP_PIN_OUTPUT)) { | 80 | if (omap_mux_init_gpio(GPIO_USB_NRESET, OMAP_PIN_OUTPUT)) { |
81 | pr_err("Can not configure mux for GPIO_USB_NRESET %d\n", | 81 | pr_err("Can not configure mux for GPIO_USB_NRESET %d\n", |