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

2008-07-22 Thread Remy Bohmer
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

Re: [U-Boot-Users] [patch 1/1] Set GD_FLG_RELOC for boards skipping relocation to RAM

2008-07-22 Thread Jean-Christophe PLAGNIOL-VILLARD
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

Re: [U-Boot-Users] [patch 1/1] Set GD_FLG_RELOC for boards skipping relocation to RAM

2008-07-22 Thread Remy Bohmer
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

Re: [U-Boot-Users] [patch 1/1] Set GD_FLG_RELOC for boards skipping relocation to RAM

2008-07-23 Thread Fundu
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