From 861aa63d6b914006256a283a5276b245b6f71a64 Mon Sep 17 00:00:00 2001 From: Sonic Zhang Date: Wed, 22 Jan 2014 16:04:19 +0800 Subject: [PATCH] blackfin: Change SMC dcplb entry flag to cover 16M address region Signed-off-by: Sonic Zhang --- arch/blackfin/lib/board.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib/board.c index 392d72d232..facbc7a563 100644 --- a/arch/blackfin/lib/board.c +++ b/arch/blackfin/lib/board.c @@ -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 -- 2.25.1