summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/sram.h
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@ti.com>2014-09-10 18:04:04 +0200
committerTony Lindgren <tony@atomide.com>2014-09-18 18:47:35 +0200
commit1306c08a7cd7e6136490ab2bc728d2c39741003e (patch)
tree79fc38c36e5f3140aa4dabe6e65ccdcebaa7f93f /arch/arm/mach-omap2/sram.h
parentARM: OMAP4+: Move SRAM data to DT (diff)
downloadlinux-1306c08a7cd7e6136490ab2bc728d2c39741003e.tar.xz
linux-1306c08a7cd7e6136490ab2bc728d2c39741003e.zip
ARM: OMAP4+: Remove static iotable mappings for SRAM
In order to handle errata I688, a page of sram was reserved by doing a static iotable map. Now that we use gen_pool to manage sram, we can completely remove all of these static mappings and use gen_pool_alloc() to get the one page of sram space needed to implement errata I688. omap_bus_sync will be NOP until SRAM initialization happens. Suggested-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/sram.h')
-rw-r--r--arch/arm/mach-omap2/sram.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/sram.h b/arch/arm/mach-omap2/sram.h
index 3f83b802dbb2..948d3edefc38 100644
--- a/arch/arm/mach-omap2/sram.h
+++ b/arch/arm/mach-omap2/sram.h
@@ -74,9 +74,3 @@ static inline void omap_push_sram_idle(void) {}
*/
#define OMAP2_SRAM_PA 0x40200000
#define OMAP3_SRAM_PA 0x40200000
-#ifdef CONFIG_OMAP4_ERRATA_I688
-#define OMAP4_SRAM_PA 0x40304000
-#define OMAP4_SRAM_VA 0xfe404000
-#else
-#define OMAP4_SRAM_PA 0x40300000
-#endif