2016-03-04 09:10:07 +09:00
|
|
|
config EFI_LOADER
|
|
|
|
bool "Support running EFI Applications in U-Boot"
|
2018-05-28 20:06:37 +09:00
|
|
|
depends on (ARM || X86 || RISCV) && OF_LIBFDT
|
2018-04-11 07:41:52 +09:00
|
|
|
# We do not support bootefi booting ARMv7 in non-secure mode
|
|
|
|
depends on !ARMV7_NONSEC
|
2018-01-24 22:54:21 +09:00
|
|
|
# We need EFI_STUB_64BIT to be set on x86_64 with EFI_STUB
|
|
|
|
depends on !EFI_STUB || !X86_64 || EFI_STUB_64BIT
|
|
|
|
# We need EFI_STUB_32BIT to be set on x86_32 with EFI_STUB
|
|
|
|
depends on !EFI_STUB || !X86 || X86_64 || EFI_STUB_32BIT
|
2016-03-04 09:10:07 +09:00
|
|
|
default y
|
2018-02-07 03:14:28 +09:00
|
|
|
select LIB_UUID
|
2018-02-07 03:43:56 +09:00
|
|
|
select HAVE_BLOCK_DEVICE
|
2018-04-30 06:37:12 +09:00
|
|
|
imply CFB_CONSOLE_ANSI
|
2016-03-04 09:10:07 +09:00
|
|
|
help
|
|
|
|
Select this option if you want to run EFI applications (like grub2)
|
|
|
|
on top of U-Boot. If this option is enabled, U-Boot will expose EFI
|
|
|
|
interfaces to a loaded EFI application, enabling it to reuse U-Boot's
|
|
|
|
device drivers.
|
2016-05-12 01:25:48 +09:00
|
|
|
|
|
|
|
config EFI_LOADER_BOUNCE_BUFFER
|
|
|
|
bool "EFI Applications use bounce buffers for DMA operations"
|
|
|
|
depends on EFI_LOADER && ARM64
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Some hardware does not support DMA to full 64bit addresses. For this
|
|
|
|
hardware we can create a bounce buffer so that payloads don't have to
|
|
|
|
worry about platform details.
|