[U-Boot-Users] [patch 1/1] (V2) Set GD_FLG_RELOC for boards skipping relocation to RAM

Wolfgang Denk wd at denx.de
Wed Jul 30 00:13:17 CEST 2008


In message <20080722142321.319882523 at 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 at 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 at 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.




More information about the U-Boot mailing list