u-boot-brain/arch/arm
Albert ARIBAUD db544b9662 imx: fix exception vectors relocation in imx27
Commit 3ff46cc4 fixed exception vectors setting in
the general ARM case, by either copying the exception
and indirect vector tables to normal (0x00000000) or
high (0xFFFF0000) vectors address, or setting VBAR to
U-Boot's base if applicable.

i.MX27 SoC is ARM926E-JS, thus has only normal and
high options, but does not provide RAM at 0xFFFF0000
and has only ROM at 0x00000000; it is therefore not
possible to move or change its exception vectors.

Besides, i.MX27 ROM code does provide an indirect
vectors table but at a non-standard address and with
the reset and reserved vectors missing.

Turn the current vector relocation code into a weak
routine called after relocate_code from crt0, and add
strong version for i.MX27.

Series-Cc: Heiko Schocher <hs@denx.de>

Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Tested-by: Stefano Babic <sbabic@denx.de>
Tested-by: Philippe Reynes <tremyfr@gmail.com>
Tested-by: Philippe Reynes <tremyfr@yahoo.fr>
2014-11-20 10:13:54 +01:00
..
cpu imx: fix exception vectors relocation in imx27 2014-11-20 10:13:54 +01:00
dts Merge branch 'zynq' of git://www.denx.de/git/u-boot-microblaze 2014-11-13 08:38:17 -05:00
imx-common mx6: video_skip: Fix crash on NULL pointer 2014-11-13 17:56:15 +01:00
include ARM: atmel: add sama5d4ek board support 2014-11-17 08:47:18 -05:00
lib imx: fix exception vectors relocation in imx27 2014-11-20 10:13:54 +01:00
mvebu-common arm: kirkwood: Change naming of dram functions from km_foo() to mvebu_foo() 2014-10-23 09:59:21 -04:00
config.mk kconfig: delete redundant CONFIG_${ARCH} definition 2014-07-30 14:42:02 -04:00
Kconfig ARM: atmel: add sama5d4 xplained ultra board support 2014-11-17 08:47:18 -05:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00