Re: [U-Boot] [PATCH v2 20/47] efi: Avoid using non-existent text base

2015-08-02 Thread Bin Meng
On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass s...@chromium.org wrote: From: Ben Stoltz sto...@google.com When U-Boot runs as an EFI application is does not have a definition of CONFIG_SYS_TEXT_BASE. U-Boot is a relocatable application and the relocation is done by EFI. U-Boot can be loaded

Re: [U-Boot] [PATCH v2 20/47] efi: Avoid using non-existent text base

2015-08-02 Thread Simon Glass
On 2 August 2015 at 09:04, Bin Meng bmeng...@gmail.com wrote: On Fri, Jul 31, 2015 at 11:31 PM, Simon Glass s...@chromium.org wrote: From: Ben Stoltz sto...@google.com When U-Boot runs as an EFI application is does not have a definition of CONFIG_SYS_TEXT_BASE. U-Boot is a relocatable

[U-Boot] [PATCH v2 20/47] efi: Avoid using non-existent text base

2015-07-31 Thread Simon Glass
From: Ben Stoltz sto...@google.com When U-Boot runs as an EFI application is does not have a definition of CONFIG_SYS_TEXT_BASE. U-Boot is a relocatable application and the relocation is done by EFI. U-Boot can be loaded at any address. This is similar to how sandbox works. Adjust the early