summaryrefslogtreecommitdiff
path: root/arch/blackfin/kernel/cplb-nompu/cplbmgr.c
diff options
context:
space:
mode:
authorBob Liu <lliubbo@gmail.com>2012-05-16 14:03:47 +0400
committerBob Liu <lliubbo@gmail.com>2012-05-21 10:54:16 +0400
commit7adede5b9b6c85c1218dd992e940719c2656c1a4 (patch)
tree99a2c8c08907064763b1a44e0d7e56b4c666ca07 /arch/blackfin/kernel/cplb-nompu/cplbmgr.c
parent4f6b600fdc1771efbb01d7a66328ac714e898bcb (diff)
downloadlinux-7adede5b9b6c85c1218dd992e940719c2656c1a4.tar.xz
blackfin: cplb: add support for bf60x
Bf60x support big CPLB pages, this commit enable it. Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/kernel/cplb-nompu/cplbmgr.c')
-rw-r--r--arch/blackfin/kernel/cplb-nompu/cplbmgr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/cplb-nompu/cplbmgr.c b/arch/blackfin/kernel/cplb-nompu/cplbmgr.c
index 5b88861d6183..e854f9066cbd 100644
--- a/arch/blackfin/kernel/cplb-nompu/cplbmgr.c
+++ b/arch/blackfin/kernel/cplb-nompu/cplbmgr.c
@@ -179,6 +179,12 @@ MGR_ATTR static int dcplb_miss(int cpu)
addr = addr1;
}
+#ifdef CONFIG_BF60x
+ if ((addr >= ASYNC_BANK0_BASE)
+ && (addr < ASYNC_BANK3_BASE + ASYNC_BANK3_SIZE))
+ d_data |= PAGE_SIZE_64MB;
+#endif
+
/* Pick entry to evict */
idx = evict_one_dcplb(cpu);