summaryrefslogtreecommitdiff
path: root/board/Arcturus
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2017-12-05 10:57:54 -0800
committerYork Sun <york.sun@nxp.com>2017-12-06 14:54:12 -0800
commit316f0d0f8f3cbeeefda043e69f3e4e6aa57f7f1d (patch)
treee4201de6e106653a02a04c13f21cf3685bc878ee /board/Arcturus
parent0f2296bab1417faa5973e6d6690c8be0f83ecd08 (diff)
powerpc: mpc85xx: Fix static TLB table for SDRAM
Most predefined TLB tables don't have memory coherence bit set for SDRAM. This wasn't an issue before invalidate_dcache_range() function was enabled. Without the coherence bit, dcache invalidation doesn't automatically flush the cache. The coherence bit is already set when dynamic TLB table is used. For some boards with different SPL boot method, or with legacy fixed setting, this bit needs to be set in TLB files. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/Arcturus')
-rw-r--r--board/Arcturus/ucp1020/tlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/Arcturus/ucp1020/tlb.c b/board/Arcturus/ucp1020/tlb.c
index fd7134f5cf9..95d58af0e5e 100644
--- a/board/Arcturus/ucp1020/tlb.c
+++ b/board/Arcturus/ucp1020/tlb.c
@@ -79,7 +79,7 @@ struct fsl_e_tlb_entry tlb_table[] = {
(defined(CONFIG_SPL) && !defined(CONFIG_SPL_COMMON_INIT_DDR))
/* *I*G - eSDHC/eSPI/NAND boot */
SET_TLB_ENTRY(1, CONFIG_SYS_DDR_SDRAM_BASE, CONFIG_SYS_DDR_SDRAM_BASE,
- MAS3_SX | MAS3_SW | MAS3_SR, 0,
+ MAS3_SX | MAS3_SW | MAS3_SR, MAS2_M,
0, 8, BOOKE_PAGESZ_1G, 1),
#endif /* RAMBOOT/SPL */