linux/arch/arm/mach-omap2
Kevin Hilman aa4b1f6e83 OMAP4: fix temporary hacks that break multi-omap PM
When building for multi-omap, and OMAP4 is enabled, CONFIG_ARCH_OMAP4
will be true and prevent included code from building/running for
OMAP2/3 as well.

This problem exists in io.c where some hwmod/PM/SDRC init code is
prevented from running even on OMAP2/3 when OMAP4 is included in a
multi-OMAP build.

A quick glance suggests that this #ifndef is no longer needed in most
of the cases.  In the remaining cases, the function is wrapped with
"if (cpu_is_omap24xx() || cpu_is_omap34xx())" which will be optimized
out for OMAP4-only builds.

Note that this is only a short-term fix.  Longer-term, OMAP4
needs to create init functions for SDRC and hwmod late-init.

Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2010-03-11 15:55:43 -08:00
..
2009-11-22 10:24:33 -08:00
2009-12-11 17:00:43 -07:00
2010-02-15 09:27:05 -08:00
2010-02-15 10:03:33 -08:00
2010-02-15 10:03:34 -08:00
2010-02-15 10:03:34 -08:00
2010-02-03 08:48:06 -08:00
2010-02-19 15:22:17 -08:00
2010-02-23 10:57:39 -08:00
2010-02-03 08:48:06 -08:00
2009-11-22 10:24:32 -08:00
2010-02-23 10:57:40 -08:00