summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorSRICHARAN R <r.sricharan@ti.com>2012-05-17 00:12:07 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-07-07 14:07:22 +0200
commit77efdeb7588aeae585fcde7e59cc8693df592fd7 (patch)
tree2a4aadbed028a45729a5e09c2090b63f5155ea43 /arch/arm/cpu
parente06e914d872f3bd5098d2f1120ecee1447a3f566 (diff)
downloadu-boot-imx-77efdeb7588aeae585fcde7e59cc8693df592fd7.zip
u-boot-imx-77efdeb7588aeae585fcde7e59cc8693df592fd7.tar.gz
u-boot-imx-77efdeb7588aeae585fcde7e59cc8693df592fd7.tar.bz2
ARM: OMAP5: dmm: Create a tiler trap section.
The unmapped entries in tiler space are set with values 0xFF. So creating a DMM section of size 16MB at 0xFF000000 with ADDRSPACE set to 0x2. This way all the unmapped entry accesses to tiler will be trapped by the EMIF and a error response is sent to the L3 interconnect. L3 errors are inturn reported to MPU. Note that here the tiler trap section is overlapping with the actual ddr physical space and we lose 16MB out of the total 2GB. Signed-off-by: R Sricharan <r.sricharan@ti.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/armv7/omap5/sdram.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/cpu/armv7/omap5/sdram.c b/arch/arm/cpu/armv7/omap5/sdram.c
index b2b5753..368b78b 100644
--- a/arch/arm/cpu/armv7/omap5/sdram.c
+++ b/arch/arm/cpu/armv7/omap5/sdram.c
@@ -88,9 +88,9 @@ const struct emif_regs emif_regs_266_mhz_2cs = {
const struct dmm_lisa_map_regs lisa_map_4G_x_2_x_2 = {
.dmm_lisa_map_0 = 0x0,
- .dmm_lisa_map_1 = 0,
- .dmm_lisa_map_2 = 0,
- .dmm_lisa_map_3 = 0x80740300
+ .dmm_lisa_map_1 = 0x0,
+ .dmm_lisa_map_2 = 0x80740300,
+ .dmm_lisa_map_3 = 0xFF020100
};
const u32 ext_phy_ctrl_const_base[EMIF_EXT_PHY_CTRL_CONST_REG] = {