diff options
author | Tony Lindgren <tony@atomide.com> | 2011-08-23 02:57:23 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-08-24 07:48:10 -0400 |
commit | a4ca9dbe44a167d63545c7ac2b5a36d7b0b415b6 (patch) | |
tree | d035c4251bdd45aff89e9e6c72ba644ec679f7b7 /arch/arm/mach-omap2/board-3430sdp.c | |
parent | f41caddbe73f52a42f529d668ce47b4d693fd2c0 (diff) |
ARM: OMAP: Move omap2_init_common_devices out of init_early
There's no need to call omap2_init_common_devices from init_early.
It no longer does anything else except reprogram the memory timings
for some boards, so it's better to do it later so we have a chance
to get console messages if something goes wrong.
Move it to happen after omap_serial_init gets called. And while
patching it anyways, rename it to omap_sdrc_init as suggested by
Benoit Cousson <b-cousson@ti.com>.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-3430sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-3430sdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index bd600cfb7f80..cc8e14887c7b 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
@@ -228,7 +228,6 @@ static struct omap_board_config_kernel sdp3430_config[] __initdata = { | |||
228 | static void __init omap_3430sdp_init_early(void) | 228 | static void __init omap_3430sdp_init_early(void) |
229 | { | 229 | { |
230 | omap2_init_common_infrastructure(); | 230 | omap2_init_common_infrastructure(); |
231 | omap2_init_common_devices(hyb18m512160af6_sdrc_params, NULL); | ||
232 | } | 231 | } |
233 | 232 | ||
234 | static struct omap2_hsmmc_info mmc[] = { | 233 | static struct omap2_hsmmc_info mmc[] = { |
@@ -719,6 +718,7 @@ static void __init omap_3430sdp_init(void) | |||
719 | gpio_pendown = SDP3430_TS_GPIO_IRQ_SDPV1; | 718 | gpio_pendown = SDP3430_TS_GPIO_IRQ_SDPV1; |
720 | omap_ads7846_init(1, gpio_pendown, 310, NULL); | 719 | omap_ads7846_init(1, gpio_pendown, 310, NULL); |
721 | board_serial_init(); | 720 | board_serial_init(); |
721 | omap_sdrc_init(hyb18m512160af6_sdrc_params, NULL); | ||
722 | usb_musb_init(NULL); | 722 | usb_musb_init(NULL); |
723 | board_smc91x_init(); | 723 | board_smc91x_init(); |
724 | board_flash_init(sdp_flash_partitions, chip_sel_3430, 0); | 724 | board_flash_init(sdp_flash_partitions, chip_sel_3430, 0); |