diff options
author | Simon Glass <sjg@chromium.org> | 2015-08-04 18:33:57 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-08-05 14:44:07 (GMT) |
commit | 42fde30500eef6795129c3e4fda9951048c76617 (patch) | |
tree | 007cebcf8d1ddc0c529e15cf3bd90e8d2f57ca9d /arch/x86/include | |
parent | 96a8d409a75af99ac7a9a9ba707d544f9cf44fc0 (diff) | |
download | u-boot-42fde30500eef6795129c3e4fda9951048c76617.tar.xz |
x86: Add support for passing tables into U-Boot
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>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/global_data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/global_data.h b/arch/x86/include/asm/global_data.h index 80ebe3e..f7e3889 100644 --- a/arch/x86/include/asm/global_data.h +++ b/arch/x86/include/asm/global_data.h @@ -69,6 +69,7 @@ struct arch_global_data { char *mrc_output; unsigned int mrc_output_len; void *gdt; /* Global descriptor table */ + ulong table; /* Table pointer from previous loader */ }; #endif |