[U-Boot] [PATCH v3 22/28] x86: Handle running as EFI payload

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


On 4 August 2015 at 12:34, Simon Glass <sjg at chromium.org> wrote:
> When U-Boot runs as an EFI payload it needs to avoid setting up the CPU
> again. Also U-Boot currently does not handle interrupts for many devices, so
> run with interrupts disabled.
>
> 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:
> - Add a note that bootm does not work when running as an EFI app
> - Move EFI CAR settings to arch/x86/lib/efi/Kconfig
> - Rename CONFIG_ARCH_EFI to CONFIG_EFI_APP
>
>  arch/x86/Kconfig          |  6 ++++++
>  arch/x86/cpu/cpu.c        | 21 +++++++++++++--------
>  arch/x86/cpu/interrupts.c | 10 ++++++++--
>  arch/x86/lib/bootm.c      |  5 +++++
>  arch/x86/lib/efi/Kconfig  | 11 +++++++++++
>  5 files changed, 43 insertions(+), 10 deletions(-)
>  create mode 100644 arch/x86/lib/efi/Kconfig

Applied to u-boot-x86.


More information about the U-Boot mailing list