Skip to content

Commit

Permalink
ARM: OMAP5: dmm: Create a tiler trap section.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sricharanti authored and albert-aribaud-u-boot committed Jul 7, 2012
1 parent e06e914 commit 77efdeb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/arm/cpu/armv7/omap5/sdram.c
Expand Up @@ -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] = {
Expand Down

0 comments on commit 77efdeb

Please sign in to comment.