ARM: set GD_FLG_RELOC for boards skipping relocation to RAM
authorRemy Bohmer <linux@bohmer.net>
Tue, 22 Jul 2008 14:22:11 +0000 (16:22 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 29 Jul 2008 22:13:04 +0000 (00:13 +0200)
commitf96b44cef897bd372beb86dde1b33637c119d84d
tree57b90c23ffa4dede41b250a3c7ca1bdb54d342cc
parente4dafff86f289b5677143a3e41da7b45c6d27fc7
ARM: set GD_FLG_RELOC for boards skipping relocation to RAM

If CONFIG_SKIP_RELOCATE_UBOOT is set the flag GD_FLG_RELOC is usually
never set, because relocation to RAM is actually never done by U-boot
itself. However, several pieces of code check if this flag is set at
some time.

So, to make sure this flag is set on boards skipping relocation, this
is added to the initialisation of U-boot at a moment where it is safe
to do so.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
lib_arm/board.c