[U-Boot] [PATCH 4/6] x86: efi: Add EFI loader support for x86

Bin Meng bmeng.cn at gmail.com
Tue Aug 9 08:50:56 CEST 2016


On Sun, Aug 7, 2016 at 7:23 AM, Simon Glass <sjg at chromium.org> wrote:
> Add the required pieces to support the EFI loader on x86.
>
> Since U-Boot only builds for 32-bit on x86, only a 32-bit EFI application
> is supported. If a 64-bit kernel must be booted, U-Boot supports this
> directly using FIT (see doc/uImage.FIT/kernel.its). U-Boot can act as a
> payload for both 32-bit and 64-bit EFI.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  arch/x86/cpu/u-boot.lds       | 36 +++++++++++++++++++++++++++++++++++-
>  arch/x86/lib/Makefile         |  1 +
>  arch/x86/lib/sections.c       | 12 ++++++++++++
>  include/efi.h                 |  3 ++-
>  lib/efi_loader/efi_boottime.c |  9 +++++++++
>  lib/efi_loader/efi_runtime.c  |  4 ++++
>  6 files changed, 63 insertions(+), 2 deletions(-)
>  create mode 100644 arch/x86/lib/sections.c
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list