powerpc/85xx:Avoid hardcoded vector address for IVORs
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Tue, 14 Feb 2012 22:49:29 +0000 (22:49 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 25 Apr 2012 04:58:30 +0000 (23:58 -0500)
commita4107f86173256e6c8710af717805512f5dbbf85
tree73b266eb01edf68a5dcd602da21f48fda7da5d90
parent617e46e3c01da2785d320d48d1248c97edbab685
powerpc/85xx:Avoid hardcoded vector address for IVORs

For e500 and e500v2 architecturees processor IVPR address should be alinged on
64K boundary.

in start.S, CONFIG_SYS_MONITOR_BASE is stored blindly in IVPR assuming it to be
64K aligned. It may not be true always. If it is not aligned, IVPR + IVORs may
not point to an exception handler.

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc85xx/start.S