arm: bugfix: Move vector table before jumping relocated code
authorTetsuyuki Kobayashi <koba@kmckk.co.jp>
Mon, 25 Jun 2012 02:40:57 +0000 (02:40 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:33 +0000 (14:07 +0200)
commitf8b9d1d30ece82abccefac3c860c06f8b7da8fbb
treed036eff5ceec6389b5962125aad660eb91d843c3
parent0ec005fe00b9057fd16531f44146c9e363bb7861
arm: bugfix: Move vector table before jumping relocated code

Interrupts and exceptions doesn't work in relocated code.
It badly use IRQ_STACK_START_IN in rom area as interrupt stack.
It is because the vecotr table is not moved to ram area.
This patch moves vector table before jumping relocated code.

Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Tested-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/start.S