arm: relocate the exception vectors
authorGeorges Savoundararadj <savoundg@gmail.com>
Tue, 28 Oct 2014 22:16:11 +0000 (23:16 +0100)
committerTom Rini <trini@ti.com>
Wed, 29 Oct 2014 13:02:50 +0000 (09:02 -0400)
commit3ff46cc42b9d73d01c86df904425704410958470
treea2ccb570c601c6e6b1acba87f46680bb24d58ce3
parentc57a642384df0dfaacc8e9c6c06d76b5aecb965d
arm: relocate the exception vectors

This commit relocates the exception vectors.
As ARM1176 and ARMv7 have the security extensions, it uses VBAR.  For
the other ARM processors, it copies the relocated exception vectors to
the correct address: 0x00000000 or 0xFFFF0000.

Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv7/start.S
arch/arm/lib/relocate.S