diff options
author | Bin Meng | 2018-08-23 08:24:10 -0700 |
---|---|---|
committer | Bin Meng | 2018-08-30 11:23:14 +0800 |
commit | 1fdeacd32c6335acb7bd5f00c3f177013d971d3d (patch) | |
tree | 9d9119d2eb2ec7dba56e35799fd95223708ad8c3 /arch/x86/include | |
parent | cbe503fbc11f36086482bfd7066c2e36b82f1544 (diff) |
x86: zimage: Support booting Linux kernel from an EFI payload
At present Linux kernel loaded from U-Boot as an EFI payload does
not boot. This fills in kernel's boot params structure with the
required critical EFI information like system table address and
memory map stuff so that kernel can obtain essential data like
runtime services and ACPI table to boot.
With this patch, now U-Boot as an EFI payload becomes much more
practical: it is another option of kernel bootloader, ie, can be
a replacement for grub.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/zimage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/zimage.h b/arch/x86/include/asm/zimage.h index 03bed54d0bd..80e128ccf36 100644 --- a/arch/x86/include/asm/zimage.h +++ b/arch/x86/include/asm/zimage.h @@ -35,5 +35,6 @@ struct boot_params *load_zimage(char *image, unsigned long kernel_size, int setup_zimage(struct boot_params *setup_base, char *cmd_line, int auto_boot, unsigned long initrd_addr, unsigned long initrd_size); void setup_video(struct screen_info *screen_info); +void setup_efi_info(struct efi_info *efi_info); #endif |