diff options
author | Tony Lindgren <tony@atomide.com> | 2012-02-24 10:34:35 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-02-24 10:34:35 -0800 |
commit | ee0839c22cdda7f2e5f06e2d0351e2b49e0975ff (patch) | |
tree | 43aae8ac684d982860304731cda8a5e5295c562e /arch/arm/plat-omap/sram.c | |
parent | 2e3ee9f45b3c25faa012abc9a62ab7aa515cd617 (diff) | |
download | linux-rt-ee0839c22cdda7f2e5f06e2d0351e2b49e0975ff.tar.gz |
ARM: OMAP2+: Move most of plat/io.h into local iomap.h
There's no need to have these defines in plat/io.h.
Note that we now need to ifdef omap_read/write calls
as they will be available for omap1 only.
While at it, clean up the includes to group them like
they typically are grouped.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/sram.c')
-rw-r--r-- | arch/arm/plat-omap/sram.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c index 4243bdcc87bc..3022fc267d23 100644 --- a/arch/arm/plat-omap/sram.c +++ b/arch/arm/plat-omap/sram.c @@ -31,11 +31,10 @@ #include "sram.h" -/* XXX These "sideways" includes are a sign that something is wrong */ -#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3) -# include "../mach-omap2/prm2xxx_3xxx.h" -# include "../mach-omap2/sdrc.h" -#endif +/* XXX These "sideways" includes will disappear when sram.c becomes a driver */ +#include "../mach-omap2/iomap.h" +#include "../mach-omap2/prm2xxx_3xxx.h" +#include "../mach-omap2/sdrc.h" #define OMAP1_SRAM_PA 0x20000000 #define OMAP2_SRAM_PUB_PA (OMAP2_SRAM_PA + 0xf800) |