
5 Aug
2015
5 Aug
'15
8:03 p.m.
On 4 August 2015 at 12:33, Simon Glass sjg@chromium.org wrote:
The EFI stub provides information to U-Boot in a table. This includes the memory map which is needed to decide where to relocate U-Boot. Collect this information in the early init code and store it in global_data.
Fix up the BIST code at the same time since we don't have it when booting from EFI and can assume it is 0.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com
Changes in v3: None Changes in v2:
- Zero BIST when starting from EFI/coreboot
arch/x86/cpu/start.S | 19 ++++++++++++++++++- arch/x86/include/asm/global_data.h | 1 + arch/x86/lib/asm-offsets.c | 1 + 3 files changed, 20 insertions(+), 1 deletion(-)
Applied to u-boot-x86.