xref: /openbmc/u-boot/lib/efi_loader/Kconfig (revision 51735ae0)
1ed980b8cSAlexander Grafconfig EFI_LOADER
2ed980b8cSAlexander Graf	bool "Support running EFI Applications in U-Boot"
3ed980b8cSAlexander Graf	depends on (ARM64 || ARM) && OF_LIBFDT
4ed980b8cSAlexander Graf	default y
5ed980b8cSAlexander Graf	help
6ed980b8cSAlexander Graf	  Select this option if you want to run EFI applications (like grub2)
7ed980b8cSAlexander Graf	  on top of U-Boot. If this option is enabled, U-Boot will expose EFI
8ed980b8cSAlexander Graf	  interfaces to a loaded EFI application, enabling it to reuse U-Boot's
9ed980b8cSAlexander Graf	  device drivers.
10*51735ae0SAlexander Graf
11*51735ae0SAlexander Grafconfig EFI_LOADER_BOUNCE_BUFFER
12*51735ae0SAlexander Graf	bool "EFI Applications use bounce buffers for DMA operations"
13*51735ae0SAlexander Graf	depends on EFI_LOADER && ARM64
14*51735ae0SAlexander Graf	default n
15*51735ae0SAlexander Graf	help
16*51735ae0SAlexander Graf	  Some hardware does not support DMA to full 64bit addresses. For this
17*51735ae0SAlexander Graf	  hardware we can create a bounce buffer so that payloads don't have to
18*51735ae0SAlexander Graf	  worry about platform details.
19