xref: /linux/drivers/firmware/efi/Kconfig (revision 022ee6c558fc933679e151f00f84332974147fa2)
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
1504851772SMatt Fleming	  available from Matt Domsch's website located at:
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:
1904851772SMatt Fleming	  <http://linux.dell.com/efibootmgr>
2004851772SMatt Fleming
2104851772SMatt Flemingconfig EFI_VARS_PSTORE
2204851772SMatt Fleming	tristate "Register efivars backend for pstore"
2304851772SMatt Fleming	depends on EFI_VARS && PSTORE
2404851772SMatt Fleming	default y
2504851772SMatt Fleming	help
2604851772SMatt Fleming	  Say Y here to enable use efivars as a backend to pstore. This
2704851772SMatt Fleming	  will allow writing console messages, crash dumps, or anything
2804851772SMatt Fleming	  else supported by pstore to EFI variables.
2904851772SMatt Fleming
3004851772SMatt Flemingconfig EFI_VARS_PSTORE_DEFAULT_DISABLE
3104851772SMatt Fleming	bool "Disable using efivars as a pstore backend by default"
3204851772SMatt Fleming	depends on EFI_VARS_PSTORE
3304851772SMatt Fleming	default n
3404851772SMatt Fleming	help
3504851772SMatt Fleming	  Saying Y here will disable the use of efivars as a storage
3604851772SMatt Fleming	  backend for pstore by default. This setting can be overridden
3704851772SMatt Fleming	  using the efivars module's pstore_disable parameter.
3804851772SMatt Fleming
39926172d4SDave Youngconfig EFI_RUNTIME_MAP
40926172d4SDave Young	bool "Export efi runtime maps to sysfs"
41926172d4SDave Young	depends on X86 && EFI && KEXEC
42926172d4SDave Young	default y
43926172d4SDave Young	help
44926172d4SDave Young	  Export efi runtime memory maps to /sys/firmware/efi/runtime-map.
45926172d4SDave Young	  That memory map is used for example by kexec to set up efi virtual
46926172d4SDave Young	  mapping the 2nd kernel, but can also be used for debugging purposes.
47926172d4SDave Young
48926172d4SDave Young	  See also Documentation/ABI/testing/sysfs-firmware-efi-runtime-map.
49926172d4SDave Young
500302f71cSMark Salterconfig EFI_PARAMS_FROM_FDT
510302f71cSMark Salter	bool
520302f71cSMark Salter	help
530302f71cSMark Salter	  Select this config option from the architecture Kconfig if
540302f71cSMark Salter	  the EFI runtime support gets system table address, memory
550302f71cSMark Salter          map address, and other parameters from the device tree.
560302f71cSMark Salter
57*022ee6c5SArd Biesheuvelconfig EFI_RUNTIME_WRAPPERS
58*022ee6c5SArd Biesheuvel	bool
59*022ee6c5SArd Biesheuvel
6004851772SMatt Flemingendmenu
61fce7d3bfSJan Beulich
62fce7d3bfSJan Beulichconfig UEFI_CPER
63fce7d3bfSJan Beulich	bool
64