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-am3517evm.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-am3517evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-am3517evm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c index 634fe65b33c8..30ec45193268 100644 --- a/arch/arm/mach-omap2/board-am3517evm.c +++ b/arch/arm/mach-omap2/board-am3517evm.c | |||
@@ -381,13 +381,8 @@ static struct omap_dss_board_info am3517_evm_dss_data = { | |||
381 | /* | 381 | /* |
382 | * Board initialization | 382 | * Board initialization |
383 | */ | 383 | */ |
384 | static struct omap_board_config_kernel am3517_evm_config[] __initdata = { | ||
385 | }; | ||
386 | |||
387 | static void __init am3517_evm_init_early(void) | 384 | static void __init am3517_evm_init_early(void) |
388 | { | 385 | { |
389 | omap_board_config = am3517_evm_config; | ||
390 | omap_board_config_size = ARRAY_SIZE(am3517_evm_config); | ||
391 | omap2_init_common_infrastructure(); | 386 | omap2_init_common_infrastructure(); |
392 | omap2_init_common_devices(NULL, NULL); | 387 | omap2_init_common_devices(NULL, NULL); |
393 | } | 388 | } |
@@ -481,8 +476,13 @@ static void am3517_evm_hecc_init(struct ti_hecc_platform_data *pdata) | |||
481 | platform_device_register(&am3517_hecc_device); | 476 | platform_device_register(&am3517_hecc_device); |
482 | } | 477 | } |
483 | 478 | ||
479 | static struct omap_board_config_kernel am3517_evm_config[] __initdata = { | ||
480 | }; | ||
481 | |||
484 | static void __init am3517_evm_init(void) | 482 | static void __init am3517_evm_init(void) |
485 | { | 483 | { |
484 | omap_board_config = am3517_evm_config; | ||
485 | omap_board_config_size = ARRAY_SIZE(am3517_evm_config); | ||
486 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 486 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
487 | 487 | ||
488 | am3517_evm_i2c_init(); | 488 | am3517_evm_i2c_init(); |