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
On 14:20 Tue 22 Jul , Remy Bohmer 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 f
Hello Jean-Christophe,
>> +static int reloc_init(void)
>> +{
>> + gd->flags |= GD_FLG_RELOC;
> you need to return 0 at least
Oops, You are right... (I forgot it somehow)
Thanks!
Remy
-
This SF.Net email is sponsored by
gt; To: u-boot-users@lists.sourceforge.net; [EMAIL PROTECTED]
> CC: [EMAIL PROTECTED]
> Subject: [U-Boot-Users] [patch 1/1] 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 re