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:
c1ab75c
)
ppc4xx: Invalidate d-cache when used as init-ram
author
Stefan Roese
<sr@denx.de>
Tue, 31 Aug 2010 09:27:14 +0000
(11:27 +0200)
committer
Stefan Roese
<sr@denx.de>
Fri, 3 Sep 2010 09:14:26 +0000
(11:14 +0200)
We need to invalidate the data cache after it has been used as init-ram.
This problem was detected on the lwmon5 update.
Signed-off-by: Stefan Roese <sr@denx.de>
arch/powerpc/cpu/ppc4xx/start.S
patch
|
blob
|
history
diff --git
a/arch/powerpc/cpu/ppc4xx/start.S
b/arch/powerpc/cpu/ppc4xx/start.S
index 5296dad569caf9d80353c3d0c488aae311643cb3..4bad32f9f57689056f2fb06b39d8c04df53c0c7d 100644
(file)
--- a/
arch/powerpc/cpu/ppc4xx/start.S
+++ b/
arch/powerpc/cpu/ppc4xx/start.S
@@
-1459,6
+1459,11
@@
relocate_code:
mtspr SPRN_DTV3,r6
msync
isync
+
+ /* Invalidate data cache, now no longer our stack */
+ dccci 0,0
+ sync
+ isync
#endif /* CONFIG_SYS_INIT_RAM_DCACHE */
/*