xref: /openbmc/linux/drivers/firmware/Kconfig (revision dd4fe5b2)
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
118cb7cf56SSudeep Hollaconfig ARM_SCPI_PROTOCOL
128cb7cf56SSudeep Holla	tristate "ARM System Control and Power Interface (SCPI) Message Protocol"
138cb7cf56SSudeep Holla	depends on ARM_MHU
148cb7cf56SSudeep Holla	help
158cb7cf56SSudeep Holla	  System Control and Power Interface (SCPI) Message Protocol is
168cb7cf56SSudeep Holla	  defined for the purpose of communication between the Application
178cb7cf56SSudeep Holla	  Cores(AP) and the System Control Processor(SCP). The MHU peripheral
188cb7cf56SSudeep Holla	  provides a mechanism for inter-processor communication between SCP
198cb7cf56SSudeep Holla	  and AP.
208cb7cf56SSudeep Holla
218cb7cf56SSudeep Holla	  SCP controls most of the power managament on the Application
228cb7cf56SSudeep Holla	  Processors. It offers control and management of: the core/cluster
238cb7cf56SSudeep Holla	  power states, various power domain DVFS including the core/cluster,
248cb7cf56SSudeep Holla	  certain system clocks configuration, thermal sensors and many
258cb7cf56SSudeep Holla	  others.
268cb7cf56SSudeep Holla
278cb7cf56SSudeep Holla	  This protocol library provides interface for all the client drivers
288cb7cf56SSudeep Holla	  making use of the features offered by the SCP.
298cb7cf56SSudeep Holla
301da177e4SLinus Torvaldsconfig EDD
315d18639aSChris Wedgwood	tristate "BIOS Enhanced Disk Drive calls determine boot disk"
329b6e3e42SMike Frysinger	depends on X86
331da177e4SLinus Torvalds	help
341da177e4SLinus Torvalds	  Say Y or M here if you want to enable BIOS Enhanced Disk Drive
351da177e4SLinus Torvalds	  Services real mode BIOS calls to determine which disk
361da177e4SLinus Torvalds	  BIOS tries boot from.  This information is then exported via sysfs.
371da177e4SLinus Torvalds
381da177e4SLinus Torvalds	  This option is experimental and is known to fail to boot on some
391da177e4SLinus Torvalds          obscure configurations. Most disk controller BIOS vendors do
401da177e4SLinus Torvalds          not yet implement this feature.
411da177e4SLinus Torvalds
428c4dd606STim Gardnerconfig EDD_OFF
438c4dd606STim Gardner	bool "Sets default behavior for EDD detection to off"
448c4dd606STim Gardner	depends on EDD
458c4dd606STim Gardner	default n
468c4dd606STim Gardner	help
478c4dd606STim Gardner	  Say Y if you want EDD disabled by default, even though it is compiled into the
488c4dd606STim Gardner	  kernel. Say N if you want EDD enabled by default. EDD can be dynamically set
498c4dd606STim Gardner	  using the kernel parameter 'edd={on|skipmbr|off}'.
508c4dd606STim Gardner
5169ac9cd6SBernhard Walleconfig FIRMWARE_MEMMAP
526a108a14SDavid Rientjes    bool "Add firmware-provided memory map to sysfs" if EXPERT
539b6e3e42SMike Frysinger    default X86
5469ac9cd6SBernhard Walle    help
5569ac9cd6SBernhard Walle      Add the firmware-provided (unmodified) memory map to /sys/firmware/memmap.
5669ac9cd6SBernhard Walle      That memory map is used for example by kexec to set up parameter area
5769ac9cd6SBernhard Walle      for the next kernel, but can also be used for debugging purposes.
5869ac9cd6SBernhard Walle
5969ac9cd6SBernhard Walle      See also Documentation/ABI/testing/sysfs-firmware-memmap.
6069ac9cd6SBernhard Walle
611da177e4SLinus Torvaldsconfig EFI_PCDP
621da177e4SLinus Torvalds	bool "Console device selection via EFI PCDP or HCDP table"
631da177e4SLinus Torvalds	depends on ACPI && EFI && IA64
641da177e4SLinus Torvalds	default y if IA64
651da177e4SLinus Torvalds	help
661da177e4SLinus Torvalds	  If your firmware supplies the PCDP table, and you want to
671da177e4SLinus Torvalds	  automatically use the primary console device it describes
681da177e4SLinus Torvalds	  as the Linux console, say Y here.
691da177e4SLinus Torvalds
701da177e4SLinus Torvalds	  If your firmware supplies the HCDP table, and you want to
711da177e4SLinus Torvalds	  use the first serial port it describes as the Linux console,
721da177e4SLinus Torvalds	  say Y here.  If your EFI ConOut path contains only a UART
731da177e4SLinus Torvalds	  device, it will become the console automatically.  Otherwise,
741da177e4SLinus Torvalds	  you must specify the "console=hcdp" kernel boot argument.
751da177e4SLinus Torvalds
761da177e4SLinus Torvalds	  Neither the PCDP nor the HCDP affects naming of serial devices,
771da177e4SLinus Torvalds	  so a serial console may be /dev/ttyS0, /dev/ttyS1, etc, depending
781da177e4SLinus Torvalds	  on how the driver discovers devices.
791da177e4SLinus Torvalds
801da177e4SLinus Torvalds	  You must also enable the appropriate drivers (serial, VGA, etc.)
811da177e4SLinus Torvalds
82631dd1a8SJustin P. Mattock	  See DIG64_HCDPv20_042804.pdf available from
83631dd1a8SJustin P. Mattock	  <http://www.dig64.org/specifications/>
841da177e4SLinus Torvalds
856c54c28eSAbhay Salunkeconfig DELL_RBU
866c54c28eSAbhay Salunke	tristate "BIOS update support for DELL systems via sysfs"
876c52f137SDave Jones	depends on X86
886c54c28eSAbhay Salunke	select FW_LOADER
89d05c39eaSTakashi Iwai	select FW_LOADER_USER_HELPER
906c54c28eSAbhay Salunke	help
916c54c28eSAbhay Salunke	 Say m if you want to have the option of updating the BIOS for your
926c54c28eSAbhay Salunke	 DELL system. Note you need a Dell OpenManage or Dell Update package (DUP)
9309509603SMatt LaPlante	 supporting application to communicate with the BIOS regarding the new
946c54c28eSAbhay Salunke	 image for the image update to take effect.
956c54c28eSAbhay Salunke	 See <file:Documentation/dell_rbu.txt> for more details on the driver.
9690563ec4SDoug Warzecha
9790563ec4SDoug Warzechaconfig DCDBAS
9890563ec4SDoug Warzecha	tristate "Dell Systems Management Base Driver"
990d078f6fSBrian Gerst	depends on X86
10090563ec4SDoug Warzecha	help
10190563ec4SDoug Warzecha	  The Dell Systems Management Base Driver provides a sysfs interface
10290563ec4SDoug Warzecha	  for systems management software to perform System Management
10390563ec4SDoug Warzecha	  Interrupts (SMIs) and Host Control Actions (system power cycle or
10490563ec4SDoug Warzecha	  power off after OS shutdown) on certain Dell systems.
10590563ec4SDoug Warzecha
10690563ec4SDoug Warzecha	  See <file:Documentation/dcdbas.txt> for more details on the driver
10790563ec4SDoug Warzecha	  and the Dell systems on which Dell systems management software makes
10890563ec4SDoug Warzecha	  use of this driver.
10990563ec4SDoug Warzecha
11090563ec4SDoug Warzecha	  Say Y or M here to enable the driver for use by Dell systems
11190563ec4SDoug Warzecha	  management software such as Dell OpenManage.
11290563ec4SDoug Warzecha
1134f5c791aSLennart Poetteringconfig DMIID
1144f5c791aSLennart Poettering    bool "Export DMI identification via sysfs to userspace"
1154f5c791aSLennart Poettering    depends on DMI
1164f5c791aSLennart Poettering    default y
1174f5c791aSLennart Poettering	help
1184f5c791aSLennart Poettering	  Say Y here if you want to query SMBIOS/DMI system identification
1194f5c791aSLennart Poettering	  information from userspace through /sys/class/dmi/id/ or if you want
1204f5c791aSLennart Poettering	  DMI-based module auto-loading.
1214f5c791aSLennart Poettering
122948af1f0SMike Waychisonconfig DMI_SYSFS
123948af1f0SMike Waychison	tristate "DMI table support in sysfs"
124948af1f0SMike Waychison	depends on SYSFS && DMI
125948af1f0SMike Waychison	default n
126948af1f0SMike Waychison	help
127948af1f0SMike Waychison	  Say Y or M here to enable the exporting of the raw DMI table
128948af1f0SMike Waychison	  data via sysfs.  This is useful for consuming the data without
129948af1f0SMike Waychison	  requiring any access to /dev/mem at all.  Tables are found
130948af1f0SMike Waychison	  under /sys/firmware/dmi when this option is enabled and
131948af1f0SMike Waychison	  loaded.
132948af1f0SMike Waychison
133cf074402SArd Biesheuvelconfig DMI_SCAN_MACHINE_NON_EFI_FALLBACK
134cf074402SArd Biesheuvel	bool
135cf074402SArd Biesheuvel
136138fe4e0SKonrad Rzeszutekconfig ISCSI_IBFT_FIND
137138fe4e0SKonrad Rzeszutek	bool "iSCSI Boot Firmware Table Attributes"
1389d24622cSLv Zheng	depends on X86 && ACPI
139138fe4e0SKonrad Rzeszutek	default n
140138fe4e0SKonrad Rzeszutek	help
141138fe4e0SKonrad Rzeszutek	  This option enables the kernel to find the region of memory
142138fe4e0SKonrad Rzeszutek	  in which the ISCSI Boot Firmware Table (iBFT) resides. This
143138fe4e0SKonrad Rzeszutek	  is necessary for iSCSI Boot Firmware Table Attributes module to work
144138fe4e0SKonrad Rzeszutek	  properly.
145138fe4e0SKonrad Rzeszutek
146138fe4e0SKonrad Rzeszutekconfig ISCSI_IBFT
147138fe4e0SKonrad Rzeszutek	tristate "iSCSI Boot Firmware Table Attributes module"
148b33a84a3SMike Christie	select ISCSI_BOOT_SYSFS
1493e0f686eSRandy Dunlap	depends on ISCSI_IBFT_FIND && SCSI && SCSI_LOWLEVEL
150138fe4e0SKonrad Rzeszutek	default	n
151138fe4e0SKonrad Rzeszutek	help
152138fe4e0SKonrad Rzeszutek	  This option enables support for detection and exposing of iSCSI
153138fe4e0SKonrad Rzeszutek	  Boot Firmware Table (iBFT) via sysfs to userspace. If you wish to
154138fe4e0SKonrad Rzeszutek	  detect iSCSI boot parameters dynamically during system boot, say Y.
155138fe4e0SKonrad Rzeszutek	  Otherwise, say N.
156138fe4e0SKonrad Rzeszutek
1574e3d6065SEric Anholtconfig RASPBERRYPI_FIRMWARE
1584e3d6065SEric Anholt	tristate "Raspberry Pi Firmware Driver"
1594e3d6065SEric Anholt	depends on BCM2835_MBOX
1604e3d6065SEric Anholt	help
1614e3d6065SEric Anholt	  This option enables support for communicating with the firmware on the
1624e3d6065SEric Anholt	  Raspberry Pi.
1634e3d6065SEric Anholt
16475f3e8e4SGabriel Somloconfig FW_CFG_SYSFS
16575f3e8e4SGabriel Somlo	tristate "QEMU fw_cfg device support in sysfs"
16675f3e8e4SGabriel Somlo	depends on SYSFS && (ARM || ARM64 || PPC_PMAC || SPARC || X86)
16728c09ec4SArnd Bergmann	depends on HAS_IOPORT_MAP
16875f3e8e4SGabriel Somlo	default n
16975f3e8e4SGabriel Somlo	help
17075f3e8e4SGabriel Somlo	  Say Y or M here to enable the exporting of the QEMU firmware
17175f3e8e4SGabriel Somlo	  configuration (fw_cfg) file entries via sysfs. Entries are
17275f3e8e4SGabriel Somlo	  found under /sys/firmware/fw_cfg when this option is enabled
17375f3e8e4SGabriel Somlo	  and loaded.
17475f3e8e4SGabriel Somlo
17575f3e8e4SGabriel Somloconfig FW_CFG_SYSFS_CMDLINE
17675f3e8e4SGabriel Somlo	bool "QEMU fw_cfg device parameter parsing"
17775f3e8e4SGabriel Somlo	depends on FW_CFG_SYSFS
17875f3e8e4SGabriel Somlo	help
17975f3e8e4SGabriel Somlo	  Allow the qemu_fw_cfg device to be initialized via the kernel
18075f3e8e4SGabriel Somlo	  command line or using a module parameter.
18175f3e8e4SGabriel Somlo	  WARNING: Using incorrect parameters (base address in particular)
18275f3e8e4SGabriel Somlo	  may crash your system.
18375f3e8e4SGabriel Somlo
184916f743dSKumar Galaconfig QCOM_SCM
185916f743dSKumar Gala	bool
186916f743dSKumar Gala	depends on ARM || ARM64
187*dd4fe5b2SBjorn Andersson	select RESET_CONTROLLER
188916f743dSKumar Gala
18950b956f3SAndy Grossconfig QCOM_SCM_32
19050b956f3SAndy Gross	def_bool y
19150b956f3SAndy Gross	depends on QCOM_SCM && ARM
19250b956f3SAndy Gross
19350b956f3SAndy Grossconfig QCOM_SCM_64
19450b956f3SAndy Gross	def_bool y
19550b956f3SAndy Gross	depends on QCOM_SCM && ARM64
19650b956f3SAndy Gross
19798dd64f3SJens Wiklanderconfig HAVE_ARM_SMCCC
19898dd64f3SJens Wiklander	bool
19998dd64f3SJens Wiklander
200f6e734a8SRafał Miłeckisource "drivers/firmware/broadcom/Kconfig"
20174c5b31cSMike Waychisonsource "drivers/firmware/google/Kconfig"
20204851772SMatt Flemingsource "drivers/firmware/efi/Kconfig"
20374c5b31cSMike Waychison
2041da177e4SLinus Torvaldsendmenu
205