]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
blackfin: Change SMC dcplb entry flag to cover 16M address region
authorSonic Zhang <sonic.zhang@analog.com>
Wed, 22 Jan 2014 08:04:19 +0000 (16:04 +0800)
committerSonic Zhang <sonic.zhang@analog.com>
Fri, 7 Feb 2014 03:18:06 +0000 (11:18 +0800)
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
arch/blackfin/lib/board.c

index 392d72d23214064224208c795eefb9d07cb91387..facbc7a563f34eb8cb9ebccb5626d7c033a82665 100644 (file)
@@ -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