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