projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65af9f6
)
nios2: fix cached mode in clearing the BSS
author
Thomas Chou
<thomas@wytron.com.tw>
Tue, 3 Nov 2015 05:52:15 +0000
(13:52 +0800)
committer
Thomas Chou
<thomas@wytron.com.tw>
Fri, 6 Nov 2015 01:14:12 +0000
(09:14 +0800)
As the generic board runs in cached mode, it should not use
"stwio" which bypass the cache.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Chin Liang See <clsee@altera.com>
arch/nios2/cpu/start.S
patch
|
blob
|
history
diff --git
a/arch/nios2/cpu/start.S
b/arch/nios2/cpu/start.S
index bb86bbf40c4e2fa7109be59d306e51f80f703a52..54787c53ca7e7d661a1bb9910ed6d08918373354 100644
(file)
--- a/
arch/nios2/cpu/start.S
+++ b/
arch/nios2/cpu/start.S
@@
-158,7
+158,7
@@
relocate_code:
ori r6, r6, %lo(__bss_end)
beq r5, r6, 5f
-4: stw
io
r0, 0(r5)
+4: stw
r0, 0(r5)
addi r5, r5, 4
bne r5, r6, 4b
5: