xref: /openbmc/linux/drivers/firmware/Kconfig (revision 4e3d6065)
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
111da177e4SLinus Torvaldsconfig EDD
125d18639aSChris Wedgwood	tristate "BIOS Enhanced Disk Drive calls determine boot disk"
139b6e3e42SMike Frysinger	depends on X86
141da177e4SLinus Torvalds	help
151da177e4SLinus Torvalds	  Say Y or M here if you want to enable BIOS Enhanced Disk Drive
161da177e4SLinus Torvalds	  Services real mode BIOS calls to determine which disk
171da177e4SLinus Torvalds	  BIOS tries boot from.  This information is then exported via sysfs.
181da177e4SLinus Torvalds
191da177e4SLinus Torvalds	  This option is experimental and is known to fail to boot on some
201da177e4SLinus Torvalds          obscure configurations. Most disk controller BIOS vendors do
211da177e4SLinus Torvalds          not yet implement this feature.
221da177e4SLinus Torvalds
238c4dd606STim Gardnerconfig EDD_OFF
248c4dd606STim Gardner	bool "Sets default behavior for EDD detection to off"
258c4dd606STim Gardner	depends on EDD
268c4dd606STim Gardner	default n
278c4dd606STim Gardner	help
288c4dd606STim Gardner	  Say Y if you want EDD disabled by default, even though it is compiled into the
298c4dd606STim Gardner	  kernel. Say N if you want EDD enabled by default. EDD can be dynamically set
308c4dd606STim Gardner	  using the kernel parameter 'edd={on|skipmbr|off}'.
318c4dd606STim Gardner
3269ac9cd6SBernhard Walleconfig FIRMWARE_MEMMAP
336a108a14SDavid Rientjes    bool "Add firmware-provided memory map to sysfs" if EXPERT
349b6e3e42SMike Frysinger    default X86
3569ac9cd6SBernhard Walle    help
3669ac9cd6SBernhard Walle      Add the firmware-provided (unmodified) memory map to /sys/firmware/memmap.
3769ac9cd6SBernhard Walle      That memory map is used for example by kexec to set up parameter area
3869ac9cd6SBernhard Walle      for the next kernel, but can also be used for debugging purposes.
3969ac9cd6SBernhard Walle
4069ac9cd6SBernhard Walle      See also Documentation/ABI/testing/sysfs-firmware-memmap.
4169ac9cd6SBernhard Walle
421da177e4SLinus Torvaldsconfig EFI_PCDP
431da177e4SLinus Torvalds	bool "Console device selection via EFI PCDP or HCDP table"
441da177e4SLinus Torvalds	depends on ACPI && EFI && IA64
451da177e4SLinus Torvalds	default y if IA64
461da177e4SLinus Torvalds	help
471da177e4SLinus Torvalds	  If your firmware supplies the PCDP table, and you want to
481da177e4SLinus Torvalds	  automatically use the primary console device it describes
491da177e4SLinus Torvalds	  as the Linux console, say Y here.
501da177e4SLinus Torvalds
511da177e4SLinus Torvalds	  If your firmware supplies the HCDP table, and you want to
521da177e4SLinus Torvalds	  use the first serial port it describes as the Linux console,
531da177e4SLinus Torvalds	  say Y here.  If your EFI ConOut path contains only a UART
541da177e4SLinus Torvalds	  device, it will become the console automatically.  Otherwise,
551da177e4SLinus Torvalds	  you must specify the "console=hcdp" kernel boot argument.
561da177e4SLinus Torvalds
571da177e4SLinus Torvalds	  Neither the PCDP nor the HCDP affects naming of serial devices,
581da177e4SLinus Torvalds	  so a serial console may be /dev/ttyS0, /dev/ttyS1, etc, depending
591da177e4SLinus Torvalds	  on how the driver discovers devices.
601da177e4SLinus Torvalds
611da177e4SLinus Torvalds	  You must also enable the appropriate drivers (serial, VGA, etc.)
621da177e4SLinus Torvalds
63631dd1a8SJustin P. Mattock	  See DIG64_HCDPv20_042804.pdf available from
64631dd1a8SJustin P. Mattock	  <http://www.dig64.org/specifications/>
651da177e4SLinus Torvalds
666c54c28eSAbhay Salunkeconfig DELL_RBU
676c54c28eSAbhay Salunke	tristate "BIOS update support for DELL systems via sysfs"
686c52f137SDave Jones	depends on X86
696c54c28eSAbhay Salunke	select FW_LOADER
70d05c39eaSTakashi Iwai	select FW_LOADER_USER_HELPER
716c54c28eSAbhay Salunke	help
726c54c28eSAbhay Salunke	 Say m if you want to have the option of updating the BIOS for your
736c54c28eSAbhay Salunke	 DELL system. Note you need a Dell OpenManage or Dell Update package (DUP)
7409509603SMatt LaPlante	 supporting application to communicate with the BIOS regarding the new
756c54c28eSAbhay Salunke	 image for the image update to take effect.
766c54c28eSAbhay Salunke	 See <file:Documentation/dell_rbu.txt> for more details on the driver.
7790563ec4SDoug Warzecha
7890563ec4SDoug Warzechaconfig DCDBAS
7990563ec4SDoug Warzecha	tristate "Dell Systems Management Base Driver"
800d078f6fSBrian Gerst	depends on X86
8190563ec4SDoug Warzecha	help
8290563ec4SDoug Warzecha	  The Dell Systems Management Base Driver provides a sysfs interface
8390563ec4SDoug Warzecha	  for systems management software to perform System Management
8490563ec4SDoug Warzecha	  Interrupts (SMIs) and Host Control Actions (system power cycle or
8590563ec4SDoug Warzecha	  power off after OS shutdown) on certain Dell systems.
8690563ec4SDoug Warzecha
8790563ec4SDoug Warzecha	  See <file:Documentation/dcdbas.txt> for more details on the driver
8890563ec4SDoug Warzecha	  and the Dell systems on which Dell systems management software makes
8990563ec4SDoug Warzecha	  use of this driver.
9090563ec4SDoug Warzecha
9190563ec4SDoug Warzecha	  Say Y or M here to enable the driver for use by Dell systems
9290563ec4SDoug Warzecha	  management software such as Dell OpenManage.
9390563ec4SDoug Warzecha
944f5c791aSLennart Poetteringconfig DMIID
954f5c791aSLennart Poettering    bool "Export DMI identification via sysfs to userspace"
964f5c791aSLennart Poettering    depends on DMI
974f5c791aSLennart Poettering    default y
984f5c791aSLennart Poettering	help
994f5c791aSLennart Poettering	  Say Y here if you want to query SMBIOS/DMI system identification
1004f5c791aSLennart Poettering	  information from userspace through /sys/class/dmi/id/ or if you want
1014f5c791aSLennart Poettering	  DMI-based module auto-loading.
1024f5c791aSLennart Poettering
103948af1f0SMike Waychisonconfig DMI_SYSFS
104948af1f0SMike Waychison	tristate "DMI table support in sysfs"
105948af1f0SMike Waychison	depends on SYSFS && DMI
106948af1f0SMike Waychison	default n
107948af1f0SMike Waychison	help
108948af1f0SMike Waychison	  Say Y or M here to enable the exporting of the raw DMI table
109948af1f0SMike Waychison	  data via sysfs.  This is useful for consuming the data without
110948af1f0SMike Waychison	  requiring any access to /dev/mem at all.  Tables are found
111948af1f0SMike Waychison	  under /sys/firmware/dmi when this option is enabled and
112948af1f0SMike Waychison	  loaded.
113948af1f0SMike Waychison
114cf074402SArd Biesheuvelconfig DMI_SCAN_MACHINE_NON_EFI_FALLBACK
115cf074402SArd Biesheuvel	bool
116cf074402SArd Biesheuvel
117138fe4e0SKonrad Rzeszutekconfig ISCSI_IBFT_FIND
118138fe4e0SKonrad Rzeszutek	bool "iSCSI Boot Firmware Table Attributes"
1199d24622cSLv Zheng	depends on X86 && ACPI
120138fe4e0SKonrad Rzeszutek	default n
121138fe4e0SKonrad Rzeszutek	help
122138fe4e0SKonrad Rzeszutek	  This option enables the kernel to find the region of memory
123138fe4e0SKonrad Rzeszutek	  in which the ISCSI Boot Firmware Table (iBFT) resides. This
124138fe4e0SKonrad Rzeszutek	  is necessary for iSCSI Boot Firmware Table Attributes module to work
125138fe4e0SKonrad Rzeszutek	  properly.
126138fe4e0SKonrad Rzeszutek
127138fe4e0SKonrad Rzeszutekconfig ISCSI_IBFT
128138fe4e0SKonrad Rzeszutek	tristate "iSCSI Boot Firmware Table Attributes module"
129b33a84a3SMike Christie	select ISCSI_BOOT_SYSFS
1303e0f686eSRandy Dunlap	depends on ISCSI_IBFT_FIND && SCSI && SCSI_LOWLEVEL
131138fe4e0SKonrad Rzeszutek	default	n
132138fe4e0SKonrad Rzeszutek	help
133138fe4e0SKonrad Rzeszutek	  This option enables support for detection and exposing of iSCSI
134138fe4e0SKonrad Rzeszutek	  Boot Firmware Table (iBFT) via sysfs to userspace. If you wish to
135138fe4e0SKonrad Rzeszutek	  detect iSCSI boot parameters dynamically during system boot, say Y.
136138fe4e0SKonrad Rzeszutek	  Otherwise, say N.
137138fe4e0SKonrad Rzeszutek
138916f743dSKumar Galaconfig QCOM_SCM
139916f743dSKumar Gala	bool
140916f743dSKumar Gala	depends on ARM || ARM64
141916f743dSKumar Gala
142*4e3d6065SEric Anholtconfig RASPBERRYPI_FIRMWARE
143*4e3d6065SEric Anholt	tristate "Raspberry Pi Firmware Driver"
144*4e3d6065SEric Anholt	depends on BCM2835_MBOX
145*4e3d6065SEric Anholt	help
146*4e3d6065SEric Anholt	  This option enables support for communicating with the firmware on the
147*4e3d6065SEric Anholt	  Raspberry Pi.
148*4e3d6065SEric Anholt
149f6e734a8SRafał Miłeckisource "drivers/firmware/broadcom/Kconfig"
15074c5b31cSMike Waychisonsource "drivers/firmware/google/Kconfig"
15104851772SMatt Flemingsource "drivers/firmware/efi/Kconfig"
15274c5b31cSMike Waychison
1531da177e4SLinus Torvaldsendmenu
154