Re: [U-Boot] [PATCH v3 06/28] x86: Support skipping relocation for EFI

2015-08-05 Thread Simon Glass
On 5 August 2015 at 01:42, Bin Meng wrote: > On Wed, Aug 5, 2015 at 2:33 AM, Simon Glass wrote: >> When running as an EFI application we must skip relocation. Add support for >> this in the x86 relocation code. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v3: None >> Changes in v2: >

Re: [U-Boot] [PATCH v3 06/28] x86: Support skipping relocation for EFI

2015-08-05 Thread Bin Meng
On Wed, Aug 5, 2015 at 2:33 AM, Simon Glass wrote: > When running as an EFI application we must skip relocation. Add support for > this in the x86 relocation code. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: > - Return early in copy_uboot_to_ram() and clear_bbs()

[U-Boot] [PATCH v3 06/28] x86: Support skipping relocation for EFI

2015-08-04 Thread Simon Glass
When running as an EFI application we must skip relocation. Add support for this in the x86 relocation code. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Return early in copy_uboot_to_ram() and clear_bbs() when relocation disabled arch/x86/lib/relocate.c | 6 ++ 1 fi