Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
---
 lib_blackfin/cache.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib_blackfin/cache.c b/lib_blackfin/cache.c
index 41e2a62..870c5bf 100644
--- a/lib_blackfin/cache.c
+++ b/lib_blackfin/cache.c
@@ -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;
 }
-- 
1.6.0.2


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to