]> git.dujemihanovic.xyz Git - u-boot.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)
committerYork Sun <yorksun@freescale.com>
Mon, 20 Apr 2015 17:15:29 +0000 (10:15 -0700)
commit96d2bb952bbf2e5a14f6ad668312cbce3cc4485a
tree9fdff82fc4915b0911f5aa2247243d3ac7a4908b
parent4913229ed6c668d3127ecd7bf9dea7900844fb82
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