summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx/release.S
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-08-14 13:37:54 -0500
committerKumar Gala <galak@kernel.crashing.org>2009-09-08 09:10:05 -0500
commit26f4cdba6b51deab4ec99d60be381244068ef950 (patch)
tree74334f280a6a353f9526e6ce2fb89c55e5a1d1aa /cpu/mpc85xx/release.S
parentda1cd955dfec35b0e15381ad1ee248fa194eed82 (diff)
downloadu-boot-imx-26f4cdba6b51deab4ec99d60be381244068ef950.zip
u-boot-imx-26f4cdba6b51deab4ec99d60be381244068ef950.tar.gz
u-boot-imx-26f4cdba6b51deab4ec99d60be381244068ef950.tar.bz2
85xx: Add support for setting IVORs to fixed offset defaults
In future Book-E implementations IVORs will most likely go away and be replaced with fixed offsets. The IVPR will continue to exist to allow for relocation of the interrupt vectors. This code adds support to setup the IVORs as their fixed offset values per the ISA 2.06 spec when we transition from u-boot to another OS either via 'bootm' or a cpu release. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'cpu/mpc85xx/release.S')
-rw-r--r--cpu/mpc85xx/release.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu/mpc85xx/release.S b/cpu/mpc85xx/release.S
index 2d4f219..074b056 100644
--- a/cpu/mpc85xx/release.S
+++ b/cpu/mpc85xx/release.S
@@ -168,6 +168,9 @@ __secondary_start_page:
bne 2b
isync
+ /* setup IVORs to match fixed offsets */
+#include "fixed_ivor.S"
+
/* get the upper bits of the addr */
lwz r11,ENTRY_ADDR_UPPER(r10)