xref: /openbmc/linux/drivers/firmware/Kconfig (revision 92f3e6eb)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# For a description of the syntax of this configuration file,
31da177e4SLinus Torvalds# see Documentation/kbuild/kconfig-language.txt.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
61da177e4SLinus Torvaldsmenu "Firmware Drivers"
71da177e4SLinus Torvalds
8bff60792SMark Rutlandconfig ARM_PSCI_FW
9bff60792SMark Rutland	bool
10bff60792SMark Rutland
11ea8b1c4aSKevin Brodskyconfig ARM_PSCI_CHECKER
12ea8b1c4aSKevin Brodsky	bool "ARM PSCI checker"
13ea8b1c4aSKevin Brodsky	depends on ARM_PSCI_FW && HOTPLUG_CPU && !TORTURE_TEST
14ea8b1c4aSKevin Brodsky	help
15ea8b1c4aSKevin Brodsky	  Run the PSCI checker during startup. This checks that hotplug and
16ea8b1c4aSKevin Brodsky	  suspend operations work correctly when using PSCI.
17ea8b1c4aSKevin Brodsky
18ea8b1c4aSKevin Brodsky	  The torture tests may interfere with the PSCI checker by turning CPUs
19ea8b1c4aSKevin Brodsky	  on and off through hotplug, so for now torture tests and PSCI checker
20ea8b1c4aSKevin Brodsky	  are mutually exclusive.
21ea8b1c4aSKevin Brodsky
228cb7cf56SSudeep Hollaconfig ARM_SCPI_PROTOCOL
238cb7cf56SSudeep Holla	tristate "ARM System Control and Power Interface (SCPI) Message Protocol"
24*92f3e6ebSJean Delvare	depends on ARM || ARM64 || COMPILE_TEST
258f1498c0SSudeep Holla	depends on MAILBOX
268cb7cf56SSudeep Holla	help
278cb7cf56SSudeep Holla	  System Control and Power Interface (SCPI) Message Protocol is
288cb7cf56SSudeep Holla	  defined for the purpose of communication between the Application
298cb7cf56SSudeep Holla	  Cores(AP) and the System Control Processor(SCP). The MHU peripheral
308cb7cf56SSudeep Holla	  provides a mechanism for inter-processor communication between SCP
318cb7cf56SSudeep Holla	  and AP.
328cb7cf56SSudeep Holla
338cb7cf56SSudeep Holla	  SCP controls most of the power managament on the Application
348cb7cf56SSudeep Holla	  Processors. It offers control and management of: the core/cluster
358cb7cf56SSudeep Holla	  power states, various power domain DVFS including the core/cluster,
368cb7cf56SSudeep Holla	  certain system clocks configuration, thermal sensors and many
378cb7cf56SSudeep Holla	  others.
388cb7cf56SSudeep Holla
398cb7cf56SSudeep Holla	  This protocol library provides interface for all the client drivers
408cb7cf56SSudeep Holla	  making use of the features offered by the SCP.
418cb7cf56SSudeep Holla
428bec4337SSudeep Hollaconfig ARM_SCPI_POWER_DOMAIN
438bec4337SSudeep Holla	tristate "SCPI power domain driver"
44e517dfe6SArnd Bergmann	depends on ARM_SCPI_PROTOCOL || (COMPILE_TEST && OF)
458bec4337SSudeep Holla	default y
468bec4337SSudeep Holla	select PM_GENERIC_DOMAINS if PM
478bec4337SSudeep Holla	help
488bec4337SSudeep Holla	  This enables support for the SCPI power domains which can be
498bec4337SSudeep Holla	  enabled or disabled via the SCP firmware
508bec4337SSudeep Holla
511da177e4SLinus Torvaldsconfig EDD
525d18639aSChris Wedgwood	tristate "BIOS Enhanced Disk Drive calls determine boot disk"
539b6e3e42SMike Frysinger	depends on X86
541da177e4SLinus Torvalds	help
551da177e4SLinus Torvalds	  Say Y or M here if you want to enable BIOS Enhanced Disk Drive
561da177e4SLinus Torvalds	  Services real mode BIOS calls to determine which disk
571da177e4SLinus Torvalds	  BIOS tries boot from.  This information is then exported via sysfs.
581da177e4SLinus Torvalds
591da177e4SLinus Torvalds	  This option is experimental and is known to fail to boot on some
601da177e4SLinus Torvalds          obscure configurations. Most disk controller BIOS vendors do
611da177e4SLinus Torvalds          not yet implement this feature.
621da177e4SLinus Torvalds
638c4dd606STim Gardnerconfig EDD_OFF
648c4dd606STim Gardner	bool "Sets default behavior for EDD detection to off"
658c4dd606STim Gardner	depends on EDD
668c4dd606STim Gardner	default n
678c4dd606STim Gardner	help
688c4dd606STim Gardner	  Say Y if you want EDD disabled by default, even though it is compiled into the
698c4dd606STim Gardner	  kernel. Say N if you want EDD enabled by default. EDD can be dynamically set
708c4dd606STim Gardner	  using the kernel parameter 'edd={on|skipmbr|off}'.
718c4dd606STim Gardner
7269ac9cd6SBernhard Walleconfig FIRMWARE_MEMMAP
736a108a14SDavid Rientjes    bool "Add firmware-provided memory map to sysfs" if EXPERT
749b6e3e42SMike Frysinger    default X86
7569ac9cd6SBernhard Walle    help
7669ac9cd6SBernhard Walle      Add the firmware-provided (unmodified) memory map to /sys/firmware/memmap.
7769ac9cd6SBernhard Walle      That memory map is used for example by kexec to set up parameter area
7869ac9cd6SBernhard Walle      for the next kernel, but can also be used for debugging purposes.
7969ac9cd6SBernhard Walle
8069ac9cd6SBernhard Walle      See also Documentation/ABI/testing/sysfs-firmware-memmap.
8169ac9cd6SBernhard Walle
821da177e4SLinus Torvaldsconfig EFI_PCDP
831da177e4SLinus Torvalds	bool "Console device selection via EFI PCDP or HCDP table"
841da177e4SLinus Torvalds	depends on ACPI && EFI && IA64
851da177e4SLinus Torvalds	default y if IA64
861da177e4SLinus Torvalds	help
871da177e4SLinus Torvalds	  If your firmware supplies the PCDP table, and you want to
881da177e4SLinus Torvalds	  automatically use the primary console device it describes
891da177e4SLinus Torvalds	  as the Linux console, say Y here.
901da177e4SLinus Torvalds
911da177e4SLinus Torvalds	  If your firmware supplies the HCDP table, and you want to
921da177e4SLinus Torvalds	  use the first serial port it describes as the Linux console,
931da177e4SLinus Torvalds	  say Y here.  If your EFI ConOut path contains only a UART
941da177e4SLinus Torvalds	  device, it will become the console automatically.  Otherwise,
951da177e4SLinus Torvalds	  you must specify the "console=hcdp" kernel boot argument.
961da177e4SLinus Torvalds
971da177e4SLinus Torvalds	  Neither the PCDP nor the HCDP affects naming of serial devices,
981da177e4SLinus Torvalds	  so a serial console may be /dev/ttyS0, /dev/ttyS1, etc, depending
991da177e4SLinus Torvalds	  on how the driver discovers devices.
1001da177e4SLinus Torvalds
1011da177e4SLinus Torvalds	  You must also enable the appropriate drivers (serial, VGA, etc.)
1021da177e4SLinus Torvalds
103631dd1a8SJustin P. Mattock	  See DIG64_HCDPv20_042804.pdf available from
104631dd1a8SJustin P. Mattock	  <http://www.dig64.org/specifications/>
1051da177e4SLinus Torvalds
1066c54c28eSAbhay Salunkeconfig DELL_RBU
1076c54c28eSAbhay Salunke	tristate "BIOS update support for DELL systems via sysfs"
1086c52f137SDave Jones	depends on X86
1096c54c28eSAbhay Salunke	select FW_LOADER
110d05c39eaSTakashi Iwai	select FW_LOADER_USER_HELPER
1116c54c28eSAbhay Salunke	help
1126c54c28eSAbhay Salunke	 Say m if you want to have the option of updating the BIOS for your
1136c54c28eSAbhay Salunke	 DELL system. Note you need a Dell OpenManage or Dell Update package (DUP)
11409509603SMatt LaPlante	 supporting application to communicate with the BIOS regarding the new
1156c54c28eSAbhay Salunke	 image for the image update to take effect.
1166c54c28eSAbhay Salunke	 See <file:Documentation/dell_rbu.txt> for more details on the driver.
11790563ec4SDoug Warzecha
11890563ec4SDoug Warzechaconfig DCDBAS
11990563ec4SDoug Warzecha	tristate "Dell Systems Management Base Driver"
1200d078f6fSBrian Gerst	depends on X86
12190563ec4SDoug Warzecha	help
12290563ec4SDoug Warzecha	  The Dell Systems Management Base Driver provides a sysfs interface
12390563ec4SDoug Warzecha	  for systems management software to perform System Management
12490563ec4SDoug Warzecha	  Interrupts (SMIs) and Host Control Actions (system power cycle or
12590563ec4SDoug Warzecha	  power off after OS shutdown) on certain Dell systems.
12690563ec4SDoug Warzecha
12790563ec4SDoug Warzecha	  See <file:Documentation/dcdbas.txt> for more details on the driver
12890563ec4SDoug Warzecha	  and the Dell systems on which Dell systems management software makes
12990563ec4SDoug Warzecha	  use of this driver.
13090563ec4SDoug Warzecha
13190563ec4SDoug Warzecha	  Say Y or M here to enable the driver for use by Dell systems
13290563ec4SDoug Warzecha	  management software such as Dell OpenManage.
13390563ec4SDoug Warzecha
1344f5c791aSLennart Poetteringconfig DMIID
1354f5c791aSLennart Poettering    bool "Export DMI identification via sysfs to userspace"
1364f5c791aSLennart Poettering    depends on DMI
1374f5c791aSLennart Poettering    default y
1384f5c791aSLennart Poettering	help
1394f5c791aSLennart Poettering	  Say Y here if you want to query SMBIOS/DMI system identification
1404f5c791aSLennart Poettering	  information from userspace through /sys/class/dmi/id/ or if you want
1414f5c791aSLennart Poettering	  DMI-based module auto-loading.
1424f5c791aSLennart Poettering
143948af1f0SMike Waychisonconfig DMI_SYSFS
144948af1f0SMike Waychison	tristate "DMI table support in sysfs"
145948af1f0SMike Waychison	depends on SYSFS && DMI
146948af1f0SMike Waychison	default n
147948af1f0SMike Waychison	help
148948af1f0SMike Waychison	  Say Y or M here to enable the exporting of the raw DMI table
149948af1f0SMike Waychison	  data via sysfs.  This is useful for consuming the data without
150948af1f0SMike Waychison	  requiring any access to /dev/mem at all.  Tables are found
151948af1f0SMike Waychison	  under /sys/firmware/dmi when this option is enabled and
152948af1f0SMike Waychison	  loaded.
153948af1f0SMike Waychison
154cf074402SArd Biesheuvelconfig DMI_SCAN_MACHINE_NON_EFI_FALLBACK
155cf074402SArd Biesheuvel	bool
156cf074402SArd Biesheuvel
157138fe4e0SKonrad Rzeszutekconfig ISCSI_IBFT_FIND
158138fe4e0SKonrad Rzeszutek	bool "iSCSI Boot Firmware Table Attributes"
1599d24622cSLv Zheng	depends on X86 && ACPI
160138fe4e0SKonrad Rzeszutek	default n
161138fe4e0SKonrad Rzeszutek	help
162138fe4e0SKonrad Rzeszutek	  This option enables the kernel to find the region of memory
163138fe4e0SKonrad Rzeszutek	  in which the ISCSI Boot Firmware Table (iBFT) resides. This
164138fe4e0SKonrad Rzeszutek	  is necessary for iSCSI Boot Firmware Table Attributes module to work
165138fe4e0SKonrad Rzeszutek	  properly.
166138fe4e0SKonrad Rzeszutek
167138fe4e0SKonrad Rzeszutekconfig ISCSI_IBFT
168138fe4e0SKonrad Rzeszutek	tristate "iSCSI Boot Firmware Table Attributes module"
169b33a84a3SMike Christie	select ISCSI_BOOT_SYSFS
1703e0f686eSRandy Dunlap	depends on ISCSI_IBFT_FIND && SCSI && SCSI_LOWLEVEL
171138fe4e0SKonrad Rzeszutek	default	n
172138fe4e0SKonrad Rzeszutek	help
173138fe4e0SKonrad Rzeszutek	  This option enables support for detection and exposing of iSCSI
174138fe4e0SKonrad Rzeszutek	  Boot Firmware Table (iBFT) via sysfs to userspace. If you wish to
175138fe4e0SKonrad Rzeszutek	  detect iSCSI boot parameters dynamically during system boot, say Y.
176138fe4e0SKonrad Rzeszutek	  Otherwise, say N.
177138fe4e0SKonrad Rzeszutek
1784e3d6065SEric Anholtconfig RASPBERRYPI_FIRMWARE
1794e3d6065SEric Anholt	tristate "Raspberry Pi Firmware Driver"
1804e3d6065SEric Anholt	depends on BCM2835_MBOX
1814e3d6065SEric Anholt	help
1824e3d6065SEric Anholt	  This option enables support for communicating with the firmware on the
1834e3d6065SEric Anholt	  Raspberry Pi.
1844e3d6065SEric Anholt
18575f3e8e4SGabriel Somloconfig FW_CFG_SYSFS
18675f3e8e4SGabriel Somlo	tristate "QEMU fw_cfg device support in sysfs"
18775f3e8e4SGabriel Somlo	depends on SYSFS && (ARM || ARM64 || PPC_PMAC || SPARC || X86)
18828c09ec4SArnd Bergmann	depends on HAS_IOPORT_MAP
18975f3e8e4SGabriel Somlo	default n
19075f3e8e4SGabriel Somlo	help
19175f3e8e4SGabriel Somlo	  Say Y or M here to enable the exporting of the QEMU firmware
19275f3e8e4SGabriel Somlo	  configuration (fw_cfg) file entries via sysfs. Entries are
19375f3e8e4SGabriel Somlo	  found under /sys/firmware/fw_cfg when this option is enabled
19475f3e8e4SGabriel Somlo	  and loaded.
19575f3e8e4SGabriel Somlo
19675f3e8e4SGabriel Somloconfig FW_CFG_SYSFS_CMDLINE
19775f3e8e4SGabriel Somlo	bool "QEMU fw_cfg device parameter parsing"
19875f3e8e4SGabriel Somlo	depends on FW_CFG_SYSFS
19975f3e8e4SGabriel Somlo	help
20075f3e8e4SGabriel Somlo	  Allow the qemu_fw_cfg device to be initialized via the kernel
20175f3e8e4SGabriel Somlo	  command line or using a module parameter.
20275f3e8e4SGabriel Somlo	  WARNING: Using incorrect parameters (base address in particular)
20375f3e8e4SGabriel Somlo	  may crash your system.
20475f3e8e4SGabriel Somlo
205916f743dSKumar Galaconfig QCOM_SCM
206916f743dSKumar Gala	bool
207916f743dSKumar Gala	depends on ARM || ARM64
208dd4fe5b2SBjorn Andersson	select RESET_CONTROLLER
209916f743dSKumar Gala
21050b956f3SAndy Grossconfig QCOM_SCM_32
21150b956f3SAndy Gross	def_bool y
21250b956f3SAndy Gross	depends on QCOM_SCM && ARM
21350b956f3SAndy Gross
21450b956f3SAndy Grossconfig QCOM_SCM_64
21550b956f3SAndy Gross	def_bool y
21650b956f3SAndy Gross	depends on QCOM_SCM && ARM64
21750b956f3SAndy Gross
218aa276781SNishanth Menonconfig TI_SCI_PROTOCOL
219aa276781SNishanth Menon	tristate "TI System Control Interface (TISCI) Message Protocol"
220aa276781SNishanth Menon	depends on TI_MESSAGE_MANAGER
221aa276781SNishanth Menon	help
222aa276781SNishanth Menon	  TI System Control Interface (TISCI) Message Protocol is used to manage
223aa276781SNishanth Menon	  compute systems such as ARM, DSP etc with the system controller in
224aa276781SNishanth Menon	  complex System on Chip(SoC) such as those found on certain keystone
225aa276781SNishanth Menon	  generation SoC from TI.
226aa276781SNishanth Menon
227aa276781SNishanth Menon	  System controller provides various facilities including power
228aa276781SNishanth Menon	  management function support.
229aa276781SNishanth Menon
230aa276781SNishanth Menon	  This protocol library is used by client drivers to use the features
231aa276781SNishanth Menon	  provided by the system controller.
232aa276781SNishanth Menon
23398dd64f3SJens Wiklanderconfig HAVE_ARM_SMCCC
23498dd64f3SJens Wiklander	bool
23598dd64f3SJens Wiklander
236f6e734a8SRafał Miłeckisource "drivers/firmware/broadcom/Kconfig"
23774c5b31cSMike Waychisonsource "drivers/firmware/google/Kconfig"
23804851772SMatt Flemingsource "drivers/firmware/efi/Kconfig"
2392c4ddb21SCarlo Caionesource "drivers/firmware/meson/Kconfig"
240ca791d7fSThierry Redingsource "drivers/firmware/tegra/Kconfig"
24174c5b31cSMike Waychison
2421da177e4SLinus Torvaldsendmenu
243