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-ldp.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-ldp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-ldp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index a3fae5697a72..a69e59455eed 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -290,8 +290,6 @@ static struct omap_board_config_kernel ldp_config[] __initdata = { | |||
290 | 290 | ||
291 | static void __init omap_ldp_init_early(void) | 291 | static void __init omap_ldp_init_early(void) |
292 | { | 292 | { |
293 | omap_board_config = ldp_config; | ||
294 | omap_board_config_size = ARRAY_SIZE(ldp_config); | ||
295 | omap2_init_common_infrastructure(); | 293 | omap2_init_common_infrastructure(); |
296 | omap2_init_common_devices(NULL, NULL); | 294 | omap2_init_common_devices(NULL, NULL); |
297 | } | 295 | } |
@@ -422,6 +420,8 @@ static struct mtd_partition ldp_nand_partitions[] = { | |||
422 | static void __init omap_ldp_init(void) | 420 | static void __init omap_ldp_init(void) |
423 | { | 421 | { |
424 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 422 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
423 | omap_board_config = ldp_config; | ||
424 | omap_board_config_size = ARRAY_SIZE(ldp_config); | ||
425 | ldp_init_smsc911x(); | 425 | ldp_init_smsc911x(); |
426 | omap_i2c_init(); | 426 | omap_i2c_init(); |
427 | platform_add_devices(ldp_devices, ARRAY_SIZE(ldp_devices)); | 427 | platform_add_devices(ldp_devices, ARRAY_SIZE(ldp_devices)); |