xref: /linux/drivers/firmware/efi/Kconfig (revision 2965faa5e03d1e71e9ff9aa143fff39e0a77543a)
104851772SMatt Flemingmenu "EFI (Extensible Firmware Interface) Support"
204851772SMatt Fleming	depends on EFI
304851772SMatt Fleming
404851772SMatt Flemingconfig EFI_VARS
504851772SMatt Fleming	tristate "EFI Variable Support via sysfs"
604851772SMatt Fleming	depends on EFI
704851772SMatt Fleming	default n
804851772SMatt Fleming	help
904851772SMatt Fleming	  If you say Y here, you are able to get EFI (Extensible Firmware
1004851772SMatt Fleming	  Interface) variable information via sysfs.  You may read,
1104851772SMatt Fleming	  write, create, and destroy EFI variables through this interface.
1204851772SMatt Fleming
1304851772SMatt Fleming	  Note that using this driver in concert with efibootmgr requires
1404851772SMatt Fleming	  at least test release version 0.5.0-test3 or later, which is
150e4ca02bSPeter Jones	  available from:
1604851772SMatt Fleming	  <http://linux.dell.com/efibootmgr/testing/efibootmgr-0.5.0-test3.tar.gz>
1704851772SMatt Fleming
1804851772SMatt Fleming	  Subsequent efibootmgr releases may be found at:
190e4ca02bSPeter Jones	  <http://github.com/vathpela/efibootmgr>
2004851772SMatt Fleming
213846c158SPeter Jonesconfig EFI_ESRT
223846c158SPeter Jones	bool
233846c158SPeter Jones	depends on EFI && !IA64
243846c158SPeter Jones	default y
253846c158SPeter Jones
2604851772SMatt Flemingconfig EFI_VARS_PSTORE
2704851772SMatt Fleming	tristate "Register efivars backend for pstore"
2804851772SMatt Fleming	depends on EFI_VARS && PSTORE
2904851772SMatt Fleming	default y
3004851772SMatt Fleming	help
3104851772SMatt Fleming	  Say Y here to enable use efivars as a backend to pstore. This
3204851772SMatt Fleming	  will allow writing console messages, crash dumps, or anything
3304851772SMatt Fleming	  else supported by pstore to EFI variables.
3404851772SMatt Fleming
3504851772SMatt Flemingconfig EFI_VARS_PSTORE_DEFAULT_DISABLE
3604851772SMatt Fleming	bool "Disable using efivars as a pstore backend by default"
3704851772SMatt Fleming	depends on EFI_VARS_PSTORE
3804851772SMatt Fleming	default n
3904851772SMatt Fleming	help
4004851772SMatt Fleming	  Saying Y here will disable the use of efivars as a storage
4104851772SMatt Fleming	  backend for pstore by default. This setting can be overridden
4204851772SMatt Fleming	  using the efivars module's pstore_disable parameter.
4304851772SMatt Fleming
44926172d4SDave Youngconfig EFI_RUNTIME_MAP
45926172d4SDave Young	bool "Export efi runtime maps to sysfs"
46*2965faa5SDave Young	depends on X86 && EFI && KEXEC_CORE
47926172d4SDave Young	default y
48926172d4SDave Young	help
49926172d4SDave Young	  Export efi runtime memory maps to /sys/firmware/efi/runtime-map.
50926172d4SDave Young	  That memory map is used for example by kexec to set up efi virtual
51926172d4SDave Young	  mapping the 2nd kernel, but can also be used for debugging purposes.
52926172d4SDave Young
53926172d4SDave Young	  See also Documentation/ABI/testing/sysfs-firmware-efi-runtime-map.
54926172d4SDave Young
550302f71cSMark Salterconfig EFI_PARAMS_FROM_FDT
560302f71cSMark Salter	bool
570302f71cSMark Salter	help
580302f71cSMark Salter	  Select this config option from the architecture Kconfig if
590302f71cSMark Salter	  the EFI runtime support gets system table address, memory
600302f71cSMark Salter          map address, and other parameters from the device tree.
610302f71cSMark Salter
62022ee6c5SArd Biesheuvelconfig EFI_RUNTIME_WRAPPERS
63022ee6c5SArd Biesheuvel	bool
64022ee6c5SArd Biesheuvel
65f4f75ad5SArd Biesheuvelconfig EFI_ARMSTUB
66f4f75ad5SArd Biesheuvel	bool
67f4f75ad5SArd Biesheuvel
6804851772SMatt Flemingendmenu
69fce7d3bfSJan Beulich
70fce7d3bfSJan Beulichconfig UEFI_CPER
71fce7d3bfSJan Beulich	bool
72