projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c1ea9e
)
Blackfin: check cache bits, not cplb bits
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 7 Aug 2008 22:40:13 +0000
(18:40 -0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 23 Oct 2008 09:03:50 +0000
(
05:03
-0400)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
lib_blackfin/cache.c
patch
|
blob
|
history
diff --git
a/lib_blackfin/cache.c
b/lib_blackfin/cache.c
index 41e2a62d12d3d587b9d42e5e0f9c761e0df341b9..870c5bfbac748aef7d104526d9db75fd2b0a28b1 100644
(file)
--- 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
;
}