Kconfig 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. menu "EFI (Extensible Firmware Interface) Support"
  2. depends on EFI
  3. config EFI_VARS
  4. tristate "EFI Variable Support via sysfs"
  5. depends on EFI
  6. default n
  7. help
  8. If you say Y here, you are able to get EFI (Extensible Firmware
  9. Interface) variable information via sysfs. You may read,
  10. write, create, and destroy EFI variables through this interface.
  11. Note that using this driver in concert with efibootmgr requires
  12. at least test release version 0.5.0-test3 or later, which is
  13. available from:
  14. <http://linux.dell.com/efibootmgr/testing/efibootmgr-0.5.0-test3.tar.gz>
  15. Subsequent efibootmgr releases may be found at:
  16. <http://github.com/vathpela/efibootmgr>
  17. config EFI_ESRT
  18. bool
  19. depends on EFI && !IA64
  20. default y
  21. config EFI_VARS_PSTORE
  22. tristate "Register efivars backend for pstore"
  23. depends on EFI_VARS && PSTORE
  24. default y
  25. help
  26. Say Y here to enable use efivars as a backend to pstore. This
  27. will allow writing console messages, crash dumps, or anything
  28. else supported by pstore to EFI variables.
  29. config EFI_VARS_PSTORE_DEFAULT_DISABLE
  30. bool "Disable using efivars as a pstore backend by default"
  31. depends on EFI_VARS_PSTORE
  32. default n
  33. help
  34. Saying Y here will disable the use of efivars as a storage
  35. backend for pstore by default. This setting can be overridden
  36. using the efivars module's pstore_disable parameter.
  37. config EFI_RUNTIME_MAP
  38. bool "Export efi runtime maps to sysfs"
  39. depends on X86 && EFI && KEXEC_CORE
  40. default y
  41. help
  42. Export efi runtime memory maps to /sys/firmware/efi/runtime-map.
  43. That memory map is used for example by kexec to set up efi virtual
  44. mapping the 2nd kernel, but can also be used for debugging purposes.
  45. See also Documentation/ABI/testing/sysfs-firmware-efi-runtime-map.
  46. config EFI_FAKE_MEMMAP
  47. bool "Enable EFI fake memory map"
  48. depends on EFI && X86
  49. default n
  50. help
  51. Saying Y here will enable "efi_fake_mem" boot option.
  52. By specifying this parameter, you can add arbitrary attribute
  53. to specific memory range by updating original (firmware provided)
  54. EFI memmap.
  55. This is useful for debugging of EFI memmap related feature.
  56. e.g. Address Range Mirroring feature.
  57. config EFI_MAX_FAKE_MEM
  58. int "maximum allowable number of ranges in efi_fake_mem boot option"
  59. depends on EFI_FAKE_MEMMAP
  60. range 1 128
  61. default 8
  62. help
  63. Maximum allowable number of ranges in efi_fake_mem boot option.
  64. Ranges can be set up to this value using comma-separated list.
  65. The default value is 8.
  66. config EFI_PARAMS_FROM_FDT
  67. bool
  68. help
  69. Select this config option from the architecture Kconfig if
  70. the EFI runtime support gets system table address, memory
  71. map address, and other parameters from the device tree.
  72. config EFI_RUNTIME_WRAPPERS
  73. bool
  74. config EFI_ARMSTUB
  75. bool
  76. config EFI_BOOTLOADER_CONTROL
  77. tristate "EFI Bootloader Control"
  78. depends on EFI_VARS
  79. default n
  80. ---help---
  81. This module installs a reboot hook, such that if reboot() is
  82. invoked with a string argument NNN, "NNN" is copied to the
  83. "LoaderEntryOneShot" EFI variable, to be read by the
  84. bootloader. If the string matches one of the boot labels
  85. defined in its configuration, the bootloader will boot once
  86. to that label. The "LoaderEntryRebootReason" EFI variable is
  87. set with the reboot reason: "reboot" or "shutdown". The
  88. bootloader reads this reboot reason and takes particular
  89. action according to its policy.
  90. config EFI_CAPSULE_LOADER
  91. tristate "EFI capsule loader"
  92. depends on EFI
  93. help
  94. This option exposes a loader interface "/dev/efi_capsule_loader" for
  95. users to load EFI capsules. This driver requires working runtime
  96. capsule support in the firmware, which many OEMs do not provide.
  97. Most users should say N.
  98. config EFI_TEST
  99. tristate "EFI Runtime Service Tests Support"
  100. depends on EFI
  101. default n
  102. help
  103. This driver uses the efi.<service> function pointers directly instead
  104. of going through the efivar API, because it is not trying to test the
  105. kernel subsystem, just for testing the UEFI runtime service
  106. interfaces which are provided by the firmware. This driver is used
  107. by the Firmware Test Suite (FWTS) for testing the UEFI runtime
  108. interfaces readiness of the firmware.
  109. Details for FWTS are available from:
  110. <https://wiki.ubuntu.com/FirmwareTestSuite>
  111. Say Y here to enable the runtime services support via /dev/efi_test.
  112. If unsure, say N.
  113. endmenu
  114. config UEFI_CPER
  115. bool