[U-Boot] [PATCH v3 23/28] x86: Add helper code for running from EFI

Simon Glass sjg at chromium.org
Wed Aug 5 20:03:37 CEST 2015


On 4 August 2015 at 12:34, Simon Glass <sjg at chromium.org> wrote:
> When U-Boot is running from EFI some of the x86 init is replaced with
> EFI-specific init. For example, since DRAM has already been set up, we only
> need to find it, not init it. Add these functions so that boards can easily
> allow booting from EFI if required.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> Changes in v3: None
> Changes in v2:
> - Drop unnecessary .section .text
>
>  arch/x86/lib/Makefile     |   1 +
>  arch/x86/lib/efi/Makefile |   3 +
>  arch/x86/lib/efi/car.S    |  10 +++
>  arch/x86/lib/efi/efi.c    | 151 ++++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 165 insertions(+)
>  create mode 100644 arch/x86/lib/efi/car.S
>  create mode 100644 arch/x86/lib/efi/efi.c

Applied to u-boot-x86.


More information about the U-Boot mailing list