Kconfig 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  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_SCPI_POWER_DOMAIN
  26. tristate "SCPI power domain driver"
  27. depends on ARM_SCPI_PROTOCOL || (COMPILE_TEST && OF)
  28. default y
  29. select PM_GENERIC_DOMAINS if PM
  30. help
  31. This enables support for the SCPI power domains which can be
  32. enabled or disabled via the SCP firmware
  33. config ARM_SDE_INTERFACE
  34. bool "ARM Software Delegated Exception Interface (SDEI)"
  35. depends on ARM64
  36. depends on ACPI_APEI_GHES
  37. help
  38. The Software Delegated Exception Interface (SDEI) is an ARM
  39. standard for registering callbacks from the platform firmware
  40. into the OS. This is typically used to implement RAS notifications.
  41. config EDD
  42. tristate "BIOS Enhanced Disk Drive calls determine boot disk"
  43. depends on X86
  44. help
  45. Say Y or M here if you want to enable BIOS Enhanced Disk Drive
  46. Services real mode BIOS calls to determine which disk
  47. BIOS tries boot from. This information is then exported via sysfs.
  48. This option is experimental and is known to fail to boot on some
  49. obscure configurations. Most disk controller BIOS vendors do
  50. not yet implement this feature.
  51. config EDD_OFF
  52. bool "Sets default behavior for EDD detection to off"
  53. depends on EDD
  54. default n
  55. help
  56. Say Y if you want EDD disabled by default, even though it is compiled into the
  57. kernel. Say N if you want EDD enabled by default. EDD can be dynamically set
  58. using the kernel parameter 'edd={on|skipmbr|off}'.
  59. config FIRMWARE_MEMMAP
  60. bool "Add firmware-provided memory map to sysfs" if EXPERT
  61. default X86
  62. help
  63. Add the firmware-provided (unmodified) memory map to /sys/firmware/memmap.
  64. That memory map is used for example by kexec to set up parameter area
  65. for the next kernel, but can also be used for debugging purposes.
  66. See also Documentation/ABI/testing/sysfs-firmware-memmap.
  67. config EFI_PCDP
  68. bool "Console device selection via EFI PCDP or HCDP table"
  69. depends on ACPI && EFI && IA64
  70. default y if IA64
  71. help
  72. If your firmware supplies the PCDP table, and you want to
  73. automatically use the primary console device it describes
  74. as the Linux console, say Y here.
  75. If your firmware supplies the HCDP table, and you want to
  76. use the first serial port it describes as the Linux console,
  77. say Y here. If your EFI ConOut path contains only a UART
  78. device, it will become the console automatically. Otherwise,
  79. you must specify the "console=hcdp" kernel boot argument.
  80. Neither the PCDP nor the HCDP affects naming of serial devices,
  81. so a serial console may be /dev/ttyS0, /dev/ttyS1, etc, depending
  82. on how the driver discovers devices.
  83. You must also enable the appropriate drivers (serial, VGA, etc.)
  84. See DIG64_HCDPv20_042804.pdf available from
  85. <http://www.dig64.org/specifications/>
  86. config DMIID
  87. bool "Export DMI identification via sysfs to userspace"
  88. depends on DMI
  89. default y
  90. help
  91. Say Y here if you want to query SMBIOS/DMI system identification
  92. information from userspace through /sys/class/dmi/id/ or if you want
  93. DMI-based module auto-loading.
  94. config DMI_SYSFS
  95. tristate "DMI table support in sysfs"
  96. depends on SYSFS && DMI
  97. default n
  98. help
  99. Say Y or M here to enable the exporting of the raw DMI table
  100. data via sysfs. This is useful for consuming the data without
  101. requiring any access to /dev/mem at all. Tables are found
  102. under /sys/firmware/dmi when this option is enabled and
  103. loaded.
  104. config DMI_SCAN_MACHINE_NON_EFI_FALLBACK
  105. bool
  106. config ISCSI_IBFT_FIND
  107. bool "iSCSI Boot Firmware Table Attributes"
  108. depends on X86 && ISCSI_IBFT
  109. default n
  110. help
  111. This option enables the kernel to find the region of memory
  112. in which the ISCSI Boot Firmware Table (iBFT) resides. This
  113. is necessary for iSCSI Boot Firmware Table Attributes module to work
  114. properly.
  115. config ISCSI_IBFT
  116. tristate "iSCSI Boot Firmware Table Attributes module"
  117. select ISCSI_BOOT_SYSFS
  118. select ISCSI_IBFT_FIND if X86
  119. depends on ACPI && SCSI && SCSI_LOWLEVEL
  120. default n
  121. help
  122. This option enables support for detection and exposing of iSCSI
  123. Boot Firmware Table (iBFT) via sysfs to userspace. If you wish to
  124. detect iSCSI boot parameters dynamically during system boot, say Y.
  125. Otherwise, say N.
  126. config RASPBERRYPI_FIRMWARE
  127. tristate "Raspberry Pi Firmware Driver"
  128. depends on BCM2835_MBOX
  129. help
  130. This option enables support for communicating with the firmware on the
  131. Raspberry Pi.
  132. config FW_CFG_SYSFS
  133. tristate "QEMU fw_cfg device support in sysfs"
  134. depends on SYSFS && (ARM || ARM64 || PARISC || PPC_PMAC || SPARC || X86)
  135. depends on HAS_IOPORT_MAP
  136. default n
  137. help
  138. Say Y or M here to enable the exporting of the QEMU firmware
  139. configuration (fw_cfg) file entries via sysfs. Entries are
  140. found under /sys/firmware/fw_cfg when this option is enabled
  141. and loaded.
  142. config FW_CFG_SYSFS_CMDLINE
  143. bool "QEMU fw_cfg device parameter parsing"
  144. depends on FW_CFG_SYSFS
  145. help
  146. Allow the qemu_fw_cfg device to be initialized via the kernel
  147. command line or using a module parameter.
  148. WARNING: Using incorrect parameters (base address in particular)
  149. may crash your system.
  150. config INTEL_STRATIX10_SERVICE
  151. tristate "Intel Stratix10 Service Layer"
  152. depends on ARCH_INTEL_SOCFPGA && ARM64 && HAVE_ARM_SMCCC
  153. default n
  154. help
  155. Intel Stratix10 service layer runs at privileged exception level,
  156. interfaces with the service providers (FPGA manager is one of them)
  157. and manages secure monitor call to communicate with secure monitor
  158. software at secure monitor exception level.
  159. Say Y here if you want Stratix10 service layer support.
  160. config INTEL_STRATIX10_RSU
  161. tristate "Intel Stratix10 Remote System Update"
  162. depends on INTEL_STRATIX10_SERVICE
  163. help
  164. The Intel Remote System Update (RSU) driver exposes interfaces
  165. access through the Intel Service Layer to user space via sysfs
  166. device attribute nodes. The RSU interfaces report/control some of
  167. the optional RSU features of the Stratix 10 SoC FPGA.
  168. The RSU provides a way for customers to update the boot
  169. configuration of a Stratix 10 SoC device with significantly reduced
  170. risk of corrupting the bitstream storage and bricking the system.
  171. Enable RSU support if you are using an Intel SoC FPGA with the RSU
  172. feature enabled and you want Linux user space control.
  173. Say Y here if you want Intel RSU support.
  174. config MTK_ADSP_IPC
  175. tristate "MTK ADSP IPC Protocol driver"
  176. depends on MTK_ADSP_MBOX
  177. help
  178. Say yes here to add support for the MediaTek ADSP IPC
  179. between host AP (Linux) and the firmware running on ADSP.
  180. ADSP exists on some mtk processors.
  181. Client might use shared memory to exchange information with ADSP.
  182. config QCOM_SCM
  183. tristate
  184. config QCOM_SCM_DOWNLOAD_MODE_DEFAULT
  185. bool "Qualcomm download mode enabled by default"
  186. depends on QCOM_SCM
  187. help
  188. A device with "download mode" enabled will upon an unexpected
  189. warm-restart enter a special debug mode that allows the user to
  190. "download" memory content over USB for offline postmortem analysis.
  191. The feature can be enabled/disabled on the kernel command line.
  192. Say Y here to enable "download mode" by default.
  193. config QCOM_SCM_HAB
  194. tristate "To enable QCOM SCM HAB for QCPE-TZ virtualization"
  195. depends on QCOM_SCM && MSM_HAB
  196. help
  197. QCOM SCM HAB serves the scm with HAB channel with Secure Channel
  198. Mananger(SCM) support for SoC in virtualized Linux,
  199. where SCM backend is QCPE (QCOM Protected environment). The SCM
  200. channel will use QCOM HAB interface for front-end to back-end
  201. communication.
  202. config QTEE_SHM_BRIDGE
  203. bool "QTI TEE shared memory bridge"
  204. depends on QCOM_SCM
  205. default y if QCOM_SCM
  206. help
  207. QTEE shared memory bridge driver provides kernel APIs to share
  208. memory between trustzone & other VMs through shared memory bridge.
  209. It allows kernel clients to create bridge, delete bridge, and do
  210. memory sub-allocation and free from the default kernel bridge
  211. created by bridge driver.
  212. config SYSFB
  213. bool
  214. select BOOT_VESA_SUPPORT
  215. config SYSFB_SIMPLEFB
  216. bool "Mark VGA/VBE/EFI FB as generic system framebuffer"
  217. depends on X86 || EFI
  218. select SYSFB
  219. help
  220. Firmwares often provide initial graphics framebuffers so the BIOS,
  221. bootloader or kernel can show basic video-output during boot for
  222. user-guidance and debugging. Historically, x86 used the VESA BIOS
  223. Extensions and EFI-framebuffers for this, which are mostly limited
  224. to x86 BIOS or EFI systems.
  225. This option, if enabled, marks VGA/VBE/EFI framebuffers as generic
  226. framebuffers so the new generic system-framebuffer drivers can be
  227. used instead. If the framebuffer is not compatible with the generic
  228. modes, it is advertised as fallback platform framebuffer so legacy
  229. drivers like efifb, vesafb and uvesafb can pick it up.
  230. If this option is not selected, all system framebuffers are always
  231. marked as fallback platform framebuffers as usual.
  232. Note: Legacy fbdev drivers, including vesafb, efifb, uvesafb, will
  233. not be able to pick up generic system framebuffers if this option
  234. is selected. You are highly encouraged to enable simplefb as
  235. replacement if you select this option. simplefb can correctly deal
  236. with generic system framebuffers. But you should still keep vesafb
  237. and others enabled as fallback if a system framebuffer is
  238. incompatible with simplefb.
  239. If unsure, say Y.
  240. config TI_SCI_PROTOCOL
  241. tristate "TI System Control Interface (TISCI) Message Protocol"
  242. depends on TI_MESSAGE_MANAGER
  243. help
  244. TI System Control Interface (TISCI) Message Protocol is used to manage
  245. compute systems such as ARM, DSP etc with the system controller in
  246. complex System on Chip(SoC) such as those found on certain keystone
  247. generation SoC from TI.
  248. System controller provides various facilities including power
  249. management function support.
  250. This protocol library is used by client drivers to use the features
  251. provided by the system controller.
  252. config TRUSTED_FOUNDATIONS
  253. bool "Trusted Foundations secure monitor support"
  254. depends on ARM && CPU_V7
  255. help
  256. Some devices (including most early Tegra-based consumer devices on
  257. the market) are booted with the Trusted Foundations secure monitor
  258. active, requiring some core operations to be performed by the secure
  259. monitor instead of the kernel.
  260. This option allows the kernel to invoke the secure monitor whenever
  261. required on devices using Trusted Foundations. See the functions and
  262. comments in linux/firmware/trusted_foundations.h or the device tree
  263. bindings for "tlm,trusted-foundations" for details on how to use it.
  264. Choose N if you don't know what this is about.
  265. config TURRIS_MOX_RWTM
  266. tristate "Turris Mox rWTM secure firmware driver"
  267. depends on ARCH_MVEBU || COMPILE_TEST
  268. depends on HAS_DMA && OF
  269. depends on MAILBOX
  270. select HW_RANDOM
  271. select ARMADA_37XX_RWTM_MBOX
  272. help
  273. This driver communicates with the firmware on the Cortex-M3 secure
  274. processor of the Turris Mox router. Enable if you are building for
  275. Turris Mox, and you will be able to read the device serial number and
  276. other manufacturing data and also utilize the Entropy Bit Generator
  277. for hardware random number generation.
  278. source "drivers/firmware/arm_ffa/Kconfig"
  279. source "drivers/firmware/broadcom/Kconfig"
  280. source "drivers/firmware/cirrus/Kconfig"
  281. source "drivers/firmware/google/Kconfig"
  282. source "drivers/firmware/efi/Kconfig"
  283. source "drivers/firmware/imx/Kconfig"
  284. source "drivers/firmware/meson/Kconfig"
  285. source "drivers/firmware/psci/Kconfig"
  286. source "drivers/firmware/smccc/Kconfig"
  287. source "drivers/firmware/tegra/Kconfig"
  288. source "drivers/firmware/xilinx/Kconfig"
  289. endmenu