projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64c5cb8
)
Blackfin arch: Load P0 before storing through it
author
Bernd Schmidt
<bernd.schmidt@analog.com>
Tue, 24 Jul 2007 10:17:15 +0000
(18:17 +0800)
committer
Bryan Wu
<bryan.wu@analog.com>
Tue, 24 Jul 2007 10:17:15 +0000
(18:17 +0800)
Fortunately this function is only used on old 533 revisions.
Signed-off-by: Bernd Schmidt <bernd.schmidt@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/mach-common/cacheinit.S
patch
|
blob
|
history
diff --git
a/arch/blackfin/mach-common/cacheinit.S
b/arch/blackfin/mach-common/cacheinit.S
index 9d475623b7243f2069528de67cc291cda01ae9fb..5be6b975ae4a0fc88c65d0186652691d42658497 100644
(file)
--- a/
arch/blackfin/mach-common/cacheinit.S
+++ b/
arch/blackfin/mach-common/cacheinit.S
@@
-60,6
+60,9
@@
ENDPROC(_bfin_write_IMEM_CONTROL)
#if defined(CONFIG_BLKFIN_DCACHE)
ENTRY(_bfin_write_DMEM_CONTROL)
+ P0.l = (DMEM_CONTROL & 0xFFFF);
+ P0.h = (DMEM_CONTROL >> 16);
+
CLI R1;
SSYNC; /* SSYNC required before writing to DMEM_CONTROL. */
.align 8;