summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-10-05 00:00:54 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-10-05 00:00:54 +0200
commit7d314992a82cea41bb5de596421100ddce9d9c17 (patch)
tree796be7baf51b8870f055ac2ee5efa99062c0b8eb /cpu/mpc85xx
parente5e98edd77d7703ffe2051c7030fa7a00dbbcfc4 (diff)
downloadu-boot-imx-7d314992a82cea41bb5de596421100ddce9d9c17.zip
u-boot-imx-7d314992a82cea41bb5de596421100ddce9d9c17.tar.gz
u-boot-imx-7d314992a82cea41bb5de596421100ddce9d9c17.tar.bz2
E500 update: repoint IVPR to RAM when code is relocated
Patch by Kylo Ginsberg, 13 Apr 2005
Diffstat (limited to 'cpu/mpc85xx')
-rw-r--r--cpu/mpc85xx/start.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpu/mpc85xx/start.S b/cpu/mpc85xx/start.S
index 5f75bc1..2f2bd3a 100644
--- a/cpu/mpc85xx/start.S
+++ b/cpu/mpc85xx/start.S
@@ -995,6 +995,11 @@ relocate_code:
7: sync /* Wait for all icbi to complete on bus */
isync
+ /*
+ * Re-point the IVPR at RAM
+ */
+ mtspr IVPR,r10
+
/*
* We are done. Do not return, instead branch to second part of board
* initialization, now running from RAM.