2016-03-04 00:10:07 +00:00
|
|
|
config EFI_LOADER
|
|
|
|
bool "Support running EFI Applications in U-Boot"
|
2016-11-07 15:47:16 +00:00
|
|
|
depends on (ARM || X86) && OF_LIBFDT
|
2018-01-24 13:54:21 +00: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 00:10:07 +00:00
|
|
|
default y
|
2018-02-06 18:14:28 +00:00
|
|
|
select LIB_UUID
|
2016-03-04 00:10:07 +00: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-11 16:25:48 +00: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.
|