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:
422b1a0
)
ppc4xx: Fix dflush() to restore DVLIM register
author
Larry Johnson
<lrj@arlinx.com>
Thu, 10 Jan 2008 04:10:27 +0000
(23:10 -0500)
committer
Stefan Roese
<sr@denx.de>
Thu, 10 Jan 2008 17:53:16 +0000
(18:53 +0100)
Signed-off-by: Larry Johnson <lrj@acm.org>
cpu/ppc4xx/start.S
patch
|
blob
|
history
diff --git
a/cpu/ppc4xx/start.S
b/cpu/ppc4xx/start.S
index a730604367d3d94635ad5d34b8dbb8ae9d1937e5..77c2aa4117845b479878ba327825bb19143122c4 100644
(file)
--- a/
cpu/ppc4xx/start.S
+++ b/
cpu/ppc4xx/start.S
@@
-1700,6
+1700,7
@@
trap_reloc:
rlwinm r8,r9,0,15,13
rlwinm r8,r8,0,17,15
mtmsr r8
+ mfspr r8,dvlim
addi r3,r0,0x0000
mtspr dvlim,r3
mfspr r3,ivpr
@@
-1714,6
+1715,7
@@
trap_reloc:
..ag: dcbf r0,r3
addi r3,r3,-32
bdnz ..ag
+ mtspr dvlim,r8
sync
mtmsr r9
blr