summaryrefslogtreecommitdiffstats
path: root/cpu
diff options
context:
space:
mode:
authorLarry Johnson <lrj@arlinx.com>2008-01-09 23:10:27 -0500
committerStefan Roese <sr@denx.de>2008-01-10 18:53:16 +0100
commit6d8184b00c0d1d7090e4a2f514e310d98a394f8d (patch)
tree7d7691b3b14a3591e4367cca5625cc4b04b8e3ab /cpu
parent422b1a01602b6e2fbf8444a1192c7ba31461fd4c (diff)
downloadtalos-obmc-uboot-6d8184b00c0d1d7090e4a2f514e310d98a394f8d.tar.gz
talos-obmc-uboot-6d8184b00c0d1d7090e4a2f514e310d98a394f8d.zip
ppc4xx: Fix dflush() to restore DVLIM register
Signed-off-by: Larry Johnson <lrj@acm.org>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ppc4xx/start.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/ppc4xx/start.S b/cpu/ppc4xx/start.S
index a730604367..77c2aa4117 100644
--- 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
OpenPOWER on IntegriCloud