Skip to contentSkip to conversation

blackfin: Change SMC dcplb entry flag to cover 16M address region

PATCH New Sonic Zhang 1 participant 1 message Jan 22, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 blackfin: Change SMC dcplb entry flag to cover 16M address region

From: Sonic Zhang <[email protected]>

---
 arch/blackfin/lib/board.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/blackfin/lib/board.c +2 -1
index 392d72d..facbc7a 100644
@@ -142,7 +142,8 @@ void init_cplbtables(void)
 	++i;
 #if defined(__ADSPBF60x__)
 	icplb_add(0x0, 0x0);
-	dcplb_add(CONFIG_SYS_FLASH_BASE, SDRAM_EBIU);
+	dcplb_add(CONFIG_SYS_FLASH_BASE, PAGE_SIZE_16MB | CPLB_DIRTY |
+		CPLB_SUPV_WR | CPLB_USER_WR | CPLB_USER_RD | CPLB_VALID);
 	++i;
 #endif
 
Signature · 1 line
1.7.9.5