diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2009-08-14 13:37:54 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-09-08 09:10:05 -0500 |
commit | 26f4cdba6b51deab4ec99d60be381244068ef950 (patch) | |
tree | 74334f280a6a353f9526e6ce2fb89c55e5a1d1aa /cpu/mpc85xx/cpu_init.c | |
parent | da1cd955dfec35b0e15381ad1ee248fa194eed82 (diff) | |
download | u-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/cpu_init.c')
-rw-r--r-- | cpu/mpc85xx/cpu_init.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpu/mpc85xx/cpu_init.c b/cpu/mpc85xx/cpu_init.c index c4d1a9d..a54cf5d 100644 --- a/cpu/mpc85xx/cpu_init.c +++ b/cpu/mpc85xx/cpu_init.c @@ -375,3 +375,10 @@ int cpu_init_r(void) #endif return 0; } + +extern void setup_ivors(void); + +void arch_preboot_os(void) +{ + setup_ivors(); +} |