]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
powerpc/mpc85xx: Don't relocate exception vectors
authorScott Wood <scottwood@freescale.com>
Wed, 8 Apr 2015 01:20:00 +0000 (20:20 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:29:18 +0000 (22:29 +0200)
commit917003f83bd27b4871dd672f95eef7e17f6eedd0
tree5fc9770615d4ba3de22b1ff37dc7fb4227bbb186
parent1fe1c734bcbc04902ad520ffa349f1ef31d5f467
powerpc/mpc85xx: Don't relocate exception vectors

Booke does not require exception vectors to be located at address zero.
U-Boot was doing so anyway, simply because that's how it had been done
on other PPC.  The downside of this is that once the OS is loaded to
address zero, the exception vectors have been overwritten -- which
makes it difficult to diagnose a crash that happens after that point.

The IVOR setup and trap entry code is simplified somewhat as a result.

Also, there is no longer a need to align individual exceptions on 0x100
byte boundaries.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/cpu/mpc85xx/start.S
include/mpc85xx.h
include/ppc_asm.tmpl