diff options
author | Tony Lindgren <tony@atomide.com> | 2011-10-05 17:22:39 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-10-19 16:34:11 -0700 |
commit | 8aca3ab5865f8cfbde841b6daf9442cc2279ced3 (patch) | |
tree | 98de30830a3f40247a00a6bccd92255b69a7b52d /arch/arm/plat-omap/include/plat/io.h | |
parent | 4c3cf90117f1f4906d5975aeccc5ffd414807fd2 (diff) | |
download | blackbird-obmc-linux-8aca3ab5865f8cfbde841b6daf9442cc2279ced3.tar.gz blackbird-obmc-linux-8aca3ab5865f8cfbde841b6daf9442cc2279ced3.zip |
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>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/io.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/io.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/io.h b/arch/arm/plat-omap/include/plat/io.h index c0c785073141..5ffbea60be45 100644 --- a/arch/arm/plat-omap/include/plat/io.h +++ b/arch/arm/plat-omap/include/plat/io.h @@ -247,6 +247,8 @@ * NOTE: Please use ioremap + __raw_read/write where possible instead of these */ +void omap_ioremap_init(void); + extern u8 omap_readb(u32 pa); extern u16 omap_readw(u32 pa); extern u32 omap_readl(u32 pa); |