
30 Jul
2008
30 Jul
'08
12:13 a.m.
In message 20080722142321.319882523@bohmer.net> you wrote:
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.
V2: Forgot to add 'return 0;' to reloc_init() routine.
Signed-off-by: Remy Bohmer linux@bohmer.net
lib_arm/board.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
The perversity of nature is nowhere better demonstrated by the fact
that, when exposed to the same atmosphere, bread becomes hard while
crackers become soft.