diff options
author | Tony Lindgren <tony@atomide.com> | 2010-08-04 01:46:24 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-08-04 01:46:24 -0400 |
commit | 331d919af416b9b92428947ef8c535a3e24c6b31 (patch) | |
tree | 1f58dfe4ea6ed130f7b970f07cd7589864e9cbad /arch/arm/mach-omap2/io.c | |
parent | 047b51fb208c716294b4682c904df8a3ad8b6a69 (diff) | |
parent | fb8ce14c7e16bd218decb3e1655c5d4ff08042f2 (diff) |
Merge branch 'for_2.6.36' of git://git.pwsan.com/linux-2.6 into omap-for-linus
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
-rw-r--r-- | arch/arm/mach-omap2/io.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index b12d715dee5b..210de9d292fb 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -44,6 +44,7 @@ | |||
44 | 44 | ||
45 | #include <plat/clockdomain.h> | 45 | #include <plat/clockdomain.h> |
46 | #include "clockdomains.h" | 46 | #include "clockdomains.h" |
47 | |||
47 | #include <plat/omap_hwmod.h> | 48 | #include <plat/omap_hwmod.h> |
48 | 49 | ||
49 | /* | 50 | /* |
@@ -315,6 +316,8 @@ static int __init _omap2_init_reprogram_sdrc(void) | |||
315 | void __init omap2_init_common_hw(struct omap_sdrc_params *sdrc_cs0, | 316 | void __init omap2_init_common_hw(struct omap_sdrc_params *sdrc_cs0, |
316 | struct omap_sdrc_params *sdrc_cs1) | 317 | struct omap_sdrc_params *sdrc_cs1) |
317 | { | 318 | { |
319 | u8 skip_setup_idle = 0; | ||
320 | |||
318 | pwrdm_init(powerdomains_omap); | 321 | pwrdm_init(powerdomains_omap); |
319 | clkdm_init(clockdomains_omap, clkdm_autodeps); | 322 | clkdm_init(clockdomains_omap, clkdm_autodeps); |
320 | if (cpu_is_omap242x()) | 323 | if (cpu_is_omap242x()) |
@@ -338,9 +341,13 @@ void __init omap2_init_common_hw(struct omap_sdrc_params *sdrc_cs0, | |||
338 | pr_err("Could not init clock framework - unknown CPU\n"); | 341 | pr_err("Could not init clock framework - unknown CPU\n"); |
339 | 342 | ||
340 | omap_serial_early_init(); | 343 | omap_serial_early_init(); |
344 | |||
345 | #ifndef CONFIG_PM_RUNTIME | ||
346 | skip_setup_idle = 1; | ||
347 | #endif | ||
341 | if (cpu_is_omap24xx() || cpu_is_omap34xx()) /* FIXME: OMAP4 */ | 348 | if (cpu_is_omap24xx() || cpu_is_omap34xx()) /* FIXME: OMAP4 */ |
342 | omap_hwmod_late_init(); | 349 | omap_hwmod_late_init(skip_setup_idle); |
343 | omap_pm_if_init(); | 350 | |
344 | if (cpu_is_omap24xx() || cpu_is_omap34xx()) { | 351 | if (cpu_is_omap24xx() || cpu_is_omap34xx()) { |
345 | omap2_sdrc_init(sdrc_cs0, sdrc_cs1); | 352 | omap2_sdrc_init(sdrc_cs0, sdrc_cs1); |
346 | _omap2_init_reprogram_sdrc(); | 353 | _omap2_init_reprogram_sdrc(); |