]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/blackfin/kernel/cplbinfo.c
bfin cache: dcplb map: add 16M dcplb map for BF60x
[karo-tx-linux.git] / arch / blackfin / kernel / cplbinfo.c
index e1d0b24c60708378b894d3a7cabd9a6f2ebef65e..49b28ed29737e0f4fd137532740e87b7054f24b2 100644 (file)
 #include <asm/cplbinit.h>
 #include <asm/blackfin.h>
 
-static char const page_strtbl[][3] = { "1K", "4K", "1M", "4M" };
-#define page(flags)    (((flags) & 0x30000) >> 16)
+static char const page_strtbl[][4] = {
+       "1K", "4K", "1M", "4M",
+#ifdef CONFIG_BF60x
+       "16K", "64K", "16M", "64M",
+#endif
+};
+#define page(flags)    (((flags) & 0x70000) >> 16)
 #define strpage(flags) page_strtbl[page(flags)]
 
 struct cplbinfo_data {