]> git.sur5r.net Git - u-boot/blobdiff - lib_blackfin/cache.c
Merge branch 'master' of git://git.denx.de/u-boot-sh
[u-boot] / lib_blackfin / cache.c
index 41e2a62d12d3d587b9d42e5e0f9c761e0df341b9..870c5bfbac748aef7d104526d9db75fd2b0a28b1 100644 (file)
@@ -40,7 +40,7 @@ void icache_disable(void)
 
 int icache_status(void)
 {
-       return bfin_read_IMEM_CONTROL() & ENICPLB;
+       return bfin_read_IMEM_CONTROL() & IMC;
 }
 
 void dcache_enable(void)
@@ -57,5 +57,5 @@ void dcache_disable(void)
 
 int dcache_status(void)
 {
-       return bfin_read_DMEM_CONTROL() & ENDCPLB;
+       return bfin_read_DMEM_CONTROL() & ACACHE_BCACHE;
 }