summaryrefslogtreecommitdiff
path: root/arch/blackfin
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2014-01-22 16:04:19 +0800
committerSonic Zhang <sonic.zhang@analog.com>2014-02-07 11:18:06 +0800
commit861aa63d6b914006256a283a5276b245b6f71a64 (patch)
tree32c5cdf228746124d46e6189b24c279cefef1ed8 /arch/blackfin
parent28bfc40ce9bfa47da5d84de15b23063af7606c95 (diff)
downloadu-boot-imx-861aa63d6b914006256a283a5276b245b6f71a64.zip
u-boot-imx-861aa63d6b914006256a283a5276b245b6f71a64.tar.gz
u-boot-imx-861aa63d6b914006256a283a5276b245b6f71a64.tar.bz2
blackfin: Change SMC dcplb entry flag to cover 16M address region
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/lib/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib/board.c
index 392d72d..facbc7a 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