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-igep0020.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-igep0020.c')
-rw-r--r-- | arch/arm/mach-omap2/board-igep0020.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index 35be778caf1b..1b2309febee8 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c | |||
@@ -494,8 +494,6 @@ static struct platform_device *igep_devices[] __initdata = { | |||
494 | static void __init igep_init_early(void) | 494 | static void __init igep_init_early(void) |
495 | { | 495 | { |
496 | omap2_init_common_infrastructure(); | 496 | omap2_init_common_infrastructure(); |
497 | omap2_init_common_devices(m65kxxxxam_sdrc_params, | ||
498 | m65kxxxxam_sdrc_params); | ||
499 | } | 497 | } |
500 | 498 | ||
501 | static int igep2_keymap[] = { | 499 | static int igep2_keymap[] = { |
@@ -650,6 +648,8 @@ static void __init igep_init(void) | |||
650 | igep_i2c_init(); | 648 | igep_i2c_init(); |
651 | platform_add_devices(igep_devices, ARRAY_SIZE(igep_devices)); | 649 | platform_add_devices(igep_devices, ARRAY_SIZE(igep_devices)); |
652 | omap_serial_init(); | 650 | omap_serial_init(); |
651 | omap_sdrc_init(m65kxxxxam_sdrc_params, | ||
652 | m65kxxxxam_sdrc_params); | ||
653 | usb_musb_init(NULL); | 653 | usb_musb_init(NULL); |
654 | 654 | ||
655 | igep_flash_init(); | 655 | igep_flash_init(); |