Kconfig 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # For a description of the syntax of this configuration file,
  4. # see Documentation/kbuild/kconfig-language.rst.
  5. #
  6. menu "Firmware Drivers"
  7. source "drivers/firmware/arm_scmi/Kconfig"
  8. config ARM_SCPI_PROTOCOL
  9. tristate "ARM System Control and Power Interface (SCPI) Message Protocol"
  10. depends on ARM || ARM64 || COMPILE_TEST
  11. depends on MAILBOX
  12. help
  13. System Control and Power Interface (SCPI) Message Protocol is
  14. defined for the purpose of communication between the Application
  15. Cores(AP) and the System Control Processor(SCP). The MHU peripheral
  16. provides a mechanism for inter-processor communication between SCP
  17. and AP.
  18. SCP controls most of the power management on the Application
  19. Processors. It offers control and management of: the core/cluster
  20. power states, various power domain DVFS including the core/cluster,
  21. certain system clocks configuration, thermal sensors and many
  22. others.
  23. This protocol library provides interface for all the client drivers
  24. making use of the features offered by the SCP.
  25. config ARM_SDE_INTERFACE
  26. bool "ARM Software Delegated Exception Interface (SDEI)"
  27. depends on ARM64
  28. help
  29. The Software Delegated Exception Interface (SDEI) is an ARM
  30. standard for registering callbacks from the platform firmware
  31. into the OS. This is typically used to implement RAS notifications.
  32. config EDD
  33. tristate "BIOS Enhanced Disk Drive calls determine boot disk"
  34. depends on X86
  35. help
  36. Say Y or M here if you want to enable BIOS Enhanced Disk Drive
  37. Services real mode BIOS calls to determine which disk
  38. BIOS tries boot from. This information is then exported via sysfs.
  39. This option is experimental and is known to fail to boot on some
  40. obscure configurations. Most disk controller BIOS vendors do
  41. not yet implement this feature.
  42. config EDD_OFF
  43. bool "Sets default behavior for EDD detection to off"
  44. depends on EDD
  45. default n
  46. help
  47. Say Y if you want EDD disabled by default, even though it is compiled into the
  48. kernel. Say N if you want EDD enabled by default. EDD can be dynamically set
  49. using the kernel parameter 'edd={on|skipmbr|off}'.
  50. config FIRMWARE_MEMMAP
  51. bool "Add firmware-provided memory map to sysfs" if EXPERT
  52. default X86
  53. help
  54. Add the firmware-provided (unmodified) memory map to /sys/firmware/memmap.
  55. That memory map is used for example by kexec to set up parameter area
  56. for the next kernel, but can also be used for debugging purposes.
  57. See also Documentation/ABI/testing/sysfs-firmware-memmap.
  58. config DMIID
  59. bool "Export DMI identification via sysfs to userspace"
  60. depends on DMI
  61. default y
  62. help
  63. Say Y here if you want to query SMBIOS/DMI system identification
  64. information from userspace through /sys/class/dmi/id/ or if you want
  65. DMI-based module auto-loading.
  66. config DMI_SYSFS
  67. tristate "DMI table support in sysfs"
  68. depends on SYSFS && DMI
  69. default n
  70. help
  71. Say Y or M here to enable the exporting of the raw DMI table
  72. data via sysfs. This is useful for consuming the data without
  73. requiring any access to /dev/mem at all. Tables are found
  74. under /sys/firmware/dmi when this option is enabled and
  75. loaded.
  76. config DMI_SCAN_MACHINE_NON_EFI_FALLBACK
  77. bool
  78. config ISCSI_IBFT_FIND
  79. bool "iSCSI Boot Firmware Table Attributes"
  80. depends on X86 && ISCSI_IBFT
  81. default n
  82. help
  83. This option enables the kernel to find the region of memory
  84. in which the ISCSI Boot Firmware Table (iBFT) resides. This
  85. is necessary for iSCSI Boot Firmware Table Attributes module to work
  86. properly.
  87. config ISCSI_IBFT
  88. tristate "iSCSI Boot Firmware Table Attributes module"
  89. select ISCSI_BOOT_SYSFS
  90. select ISCSI_IBFT_FIND if X86
  91. depends on ACPI && SCSI && SCSI_LOWLEVEL
  92. default n
  93. help
  94. This option enables support for detection and exposing of iSCSI
  95. Boot Firmware Table (iBFT) via sysfs to userspace. If you wish to
  96. detect iSCSI boot parameters dynamically during system boot, say Y.
  97. Otherwise, say N.
  98. config RASPBERRYPI_FIRMWARE
  99. tristate "Raspberry Pi Firmware Driver"
  100. depends on BCM2835_MBOX
  101. help
  102. This option enables support for communicating with the firmware on the
  103. Raspberry Pi.
  104. config FW_CFG_SYSFS
  105. tristate "QEMU fw_cfg device support in sysfs"
  106. depends on SYSFS && (ARM || ARM64 || PARISC || PPC_PMAC || RISCV || SPARC || X86)
  107. depends on HAS_IOPORT_MAP
  108. default n
  109. help
  110. Say Y or M here to enable the exporting of the QEMU firmware
  111. configuration (fw_cfg) file entries via sysfs. Entries are
  112. found under /sys/firmware/fw_cfg when this option is enabled
  113. and loaded.
  114. config FW_CFG_SYSFS_CMDLINE
  115. bool "QEMU fw_cfg device parameter parsing"
  116. depends on FW_CFG_SYSFS
  117. help
  118. Allow the qemu_fw_cfg device to be initialized via the kernel
  119. command line or using a module parameter.
  120. WARNING: Using incorrect parameters (base address in particular)
  121. may crash your system.
  122. config INTEL_STRATIX10_SERVICE
  123. tristate "Intel Stratix10 Service Layer"
  124. depends on ARCH_INTEL_SOCFPGA && ARM64 && HAVE_ARM_SMCCC
  125. default n
  126. help
  127. Intel Stratix10 service layer runs at privileged exception level,
  128. interfaces with the service providers (FPGA manager is one of them)
  129. and manages secure monitor call to communicate with secure monitor
  130. software at secure monitor exception level.
  131. Say Y here if you want Stratix10 service layer support.
  132. config INTEL_STRATIX10_RSU
  133. tristate "Intel Stratix10 Remote System Update"
  134. depends on INTEL_STRATIX10_SERVICE
  135. help
  136. The Intel Remote System Update (RSU) driver exposes interfaces
  137. access through the Intel Service Layer to user space via sysfs
  138. device attribute nodes. The RSU interfaces report/control some of
  139. the optional RSU features of the Stratix 10 SoC FPGA.
  140. The RSU provides a way for customers to update the boot
  141. configuration of a Stratix 10 SoC device with significantly reduced
  142. risk of corrupting the bitstream storage and bricking the system.
  143. Enable RSU support if you are using an Intel SoC FPGA with the RSU
  144. feature enabled and you want Linux user space control.
  145. Say Y here if you want Intel RSU support.
  146. config MTK_ADSP_IPC
  147. tristate "MTK ADSP IPC Protocol driver"
  148. depends on MTK_ADSP_MBOX
  149. help
  150. Say yes here to add support for the MediaTek ADSP IPC
  151. between host AP (Linux) and the firmware running on ADSP.
  152. ADSP exists on some mtk processors.
  153. Client might use shared memory to exchange information with ADSP.
  154. config SYSFB
  155. bool
  156. select BOOT_VESA_SUPPORT
  157. select SCREEN_INFO
  158. config SYSFB_SIMPLEFB
  159. bool "Mark VGA/VBE/EFI FB as generic system framebuffer"
  160. depends on X86 || EFI
  161. select SYSFB
  162. help
  163. Firmwares often provide initial graphics framebuffers so the BIOS,
  164. bootloader or kernel can show basic video-output during boot for
  165. user-guidance and debugging. Historically, x86 used the VESA BIOS
  166. Extensions and EFI-framebuffers for this, which are mostly limited
  167. to x86 BIOS or EFI systems.
  168. This option, if enabled, marks VGA/VBE/EFI framebuffers as generic
  169. framebuffers so the new generic system-framebuffer drivers can be
  170. used instead. If the framebuffer is not compatible with the generic
  171. modes, it is advertised as fallback platform framebuffer so legacy
  172. drivers like efifb, vesafb and uvesafb can pick it up.
  173. If this option is not selected, all system framebuffers are always
  174. marked as fallback platform framebuffers as usual.
  175. Note: Legacy fbdev drivers, including vesafb, efifb, uvesafb, will
  176. not be able to pick up generic system framebuffers if this option
  177. is selected. You are highly encouraged to enable simplefb as
  178. replacement if you select this option. simplefb can correctly deal
  179. with generic system framebuffers. But you should still keep vesafb
  180. and others enabled as fallback if a system framebuffer is
  181. incompatible with simplefb.
  182. If unsure, say Y.
  183. config TH1520_AON_PROTOCOL
  184. tristate "Always-On firmware protocol"
  185. depends on ARCH_THEAD || COMPILE_TEST
  186. depends on MAILBOX
  187. help
  188. Power, clock, and resource management capabilities on the TH1520 SoC are
  189. managed by the E902 core. Firmware running on this core communicates with
  190. the kernel through the Always-On protocol, using hardware mailbox as a medium.
  191. Say yes if you need such capabilities.
  192. config TI_SCI_PROTOCOL
  193. tristate "TI System Control Interface (TISCI) Message Protocol"
  194. depends on TI_MESSAGE_MANAGER
  195. default ARCH_K3
  196. help
  197. TI System Control Interface (TISCI) Message Protocol is used to manage
  198. compute systems such as ARM, DSP etc with the system controller in
  199. complex System on Chip(SoC) such as those found on certain keystone
  200. generation SoC from TI.
  201. System controller provides various facilities including power
  202. management function support.
  203. This protocol library is used by client drivers to use the features
  204. provided by the system controller.
  205. config TRUSTED_FOUNDATIONS
  206. bool "Trusted Foundations secure monitor support"
  207. depends on ARM && CPU_V7
  208. help
  209. Some devices (including most early Tegra-based consumer devices on
  210. the market) are booted with the Trusted Foundations secure monitor
  211. active, requiring some core operations to be performed by the secure
  212. monitor instead of the kernel.
  213. This option allows the kernel to invoke the secure monitor whenever
  214. required on devices using Trusted Foundations. See the functions and
  215. comments in linux/firmware/trusted_foundations.h or the device tree
  216. bindings for "tlm,trusted-foundations" for details on how to use it.
  217. Choose N if you don't know what this is about.
  218. config TURRIS_MOX_RWTM
  219. tristate "Turris Mox rWTM secure firmware driver"
  220. depends on ARCH_MVEBU || COMPILE_TEST
  221. depends on HAS_DMA && OF
  222. depends on MAILBOX
  223. select HW_RANDOM
  224. select ARMADA_37XX_RWTM_MBOX
  225. help
  226. This driver communicates with the firmware on the Cortex-M3 secure
  227. processor of the Turris Mox router. Enable if you are building for
  228. Turris Mox, and you will be able to read the device serial number and
  229. other manufacturing data and also utilize the Entropy Bit Generator
  230. for hardware random number generation.
  231. if TURRIS_MOX_RWTM
  232. config TURRIS_MOX_RWTM_KEYCTL
  233. bool "Turris Mox rWTM ECDSA message signing"
  234. default y
  235. depends on KEYS
  236. depends on ASYMMETRIC_KEY_TYPE
  237. select CZNIC_PLATFORMS
  238. select TURRIS_SIGNING_KEY
  239. help
  240. Say Y here to add support for ECDSA message signing with board private
  241. key (each Turris Mox has an ECDSA private key generated in the secure
  242. coprocessor when manufactured). This functionality is exposed via the
  243. keyctl() syscall.
  244. endif # TURRIS_MOX_RWTM
  245. source "drivers/firmware/arm_ffa/Kconfig"
  246. source "drivers/firmware/broadcom/Kconfig"
  247. source "drivers/firmware/cirrus/Kconfig"
  248. source "drivers/firmware/google/Kconfig"
  249. source "drivers/firmware/efi/Kconfig"
  250. source "drivers/firmware/imx/Kconfig"
  251. source "drivers/firmware/meson/Kconfig"
  252. source "drivers/firmware/microchip/Kconfig"
  253. source "drivers/firmware/psci/Kconfig"
  254. source "drivers/firmware/qcom/Kconfig"
  255. source "drivers/firmware/samsung/Kconfig"
  256. source "drivers/firmware/smccc/Kconfig"
  257. source "drivers/firmware/tegra/Kconfig"
  258. source "drivers/firmware/xilinx/Kconfig"
  259. endmenu