diff options
author | Rajendra Nayak <rnayak@ti.com> | 2014-09-10 16:04:04 (GMT) |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-09-18 16:47:35 (GMT) |
commit | 1306c08a7cd7e6136490ab2bc728d2c39741003e (patch) | |
tree | 79fc38c36e5f3140aa4dabe6e65ccdcebaa7f93f /arch/arm/boot | |
parent | 8b9a2810b02e3d9806ba2bf307c8e8dcedaf902d (diff) | |
download | linux-1306c08a7cd7e6136490ab2bc728d2c39741003e.tar.xz |
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/boot')
-rw-r--r-- | arch/arm/boot/dts/omap4.dtsi | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap5.dtsi | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index e54992f..8a94497 100644 --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -81,6 +81,7 @@ mpu { compatible = "ti,omap4-mpu"; ti,hwmods = "mpu"; + sram = <&ocmcram>; }; dsp { diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 779d4da..4a6091d 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi @@ -104,8 +104,9 @@ soc { compatible = "ti,omap-infra"; mpu { - compatible = "ti,omap5-mpu"; + compatible = "ti,omap4-mpu"; ti,hwmods = "mpu"; + sram = <&ocmcram>; }; }; |