ARM: OMAP: Warn if omap_ioremap is called before SoC detection
authorTony Lindgren <tony@atomide.com>
Thu, 6 Oct 2011 00:22:39 +0000 (17:22 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 19 Oct 2011 23:34:11 +0000 (16:34 -0700)
commit8aca3ab5865f8cfbde841b6daf9442cc2279ced3
tree98de30830a3f40247a00a6bccd92255b69a7b52d
parent4c3cf90117f1f4906d5975aeccc5ffd414807fd2
ARM: OMAP: Warn if omap_ioremap is called before SoC detection

We don't have cpu_is_omapxxxx SoC detection initialized until
SoC detection is initialized from init_early.

Note that with the common map_io we should no longer need
cpu_is_omapxxxx for ioremap.

Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/io.c
arch/arm/mach-omap2/io.c
arch/arm/plat-omap/include/plat/io.h
arch/arm/plat-omap/io.c