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