xref: /openbmc/linux/drivers/firmware/Kconfig (revision f6e734a8)
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
81da177e4SLinus Torvaldsconfig EDD
95d18639aSChris Wedgwood	tristate "BIOS Enhanced Disk Drive calls determine boot disk"
109b6e3e42SMike Frysinger	depends on X86
111da177e4SLinus Torvalds	help
121da177e4SLinus Torvalds	  Say Y or M here if you want to enable BIOS Enhanced Disk Drive
131da177e4SLinus Torvalds	  Services real mode BIOS calls to determine which disk
141da177e4SLinus Torvalds	  BIOS tries boot from.  This information is then exported via sysfs.
151da177e4SLinus Torvalds
161da177e4SLinus Torvalds	  This option is experimental and is known to fail to boot on some
171da177e4SLinus Torvalds          obscure configurations. Most disk controller BIOS vendors do
181da177e4SLinus Torvalds          not yet implement this feature.
191da177e4SLinus Torvalds
208c4dd606STim Gardnerconfig EDD_OFF
218c4dd606STim Gardner	bool "Sets default behavior for EDD detection to off"
228c4dd606STim Gardner	depends on EDD
238c4dd606STim Gardner	default n
248c4dd606STim Gardner	help
258c4dd606STim Gardner	  Say Y if you want EDD disabled by default, even though it is compiled into the
268c4dd606STim Gardner	  kernel. Say N if you want EDD enabled by default. EDD can be dynamically set
278c4dd606STim Gardner	  using the kernel parameter 'edd={on|skipmbr|off}'.
288c4dd606STim Gardner
2969ac9cd6SBernhard Walleconfig FIRMWARE_MEMMAP
306a108a14SDavid Rientjes    bool "Add firmware-provided memory map to sysfs" if EXPERT
319b6e3e42SMike Frysinger    default X86
3269ac9cd6SBernhard Walle    help
3369ac9cd6SBernhard Walle      Add the firmware-provided (unmodified) memory map to /sys/firmware/memmap.
3469ac9cd6SBernhard Walle      That memory map is used for example by kexec to set up parameter area
3569ac9cd6SBernhard Walle      for the next kernel, but can also be used for debugging purposes.
3669ac9cd6SBernhard Walle
3769ac9cd6SBernhard Walle      See also Documentation/ABI/testing/sysfs-firmware-memmap.
3869ac9cd6SBernhard Walle
391da177e4SLinus Torvaldsconfig EFI_PCDP
401da177e4SLinus Torvalds	bool "Console device selection via EFI PCDP or HCDP table"
411da177e4SLinus Torvalds	depends on ACPI && EFI && IA64
421da177e4SLinus Torvalds	default y if IA64
431da177e4SLinus Torvalds	help
441da177e4SLinus Torvalds	  If your firmware supplies the PCDP table, and you want to
451da177e4SLinus Torvalds	  automatically use the primary console device it describes
461da177e4SLinus Torvalds	  as the Linux console, say Y here.
471da177e4SLinus Torvalds
481da177e4SLinus Torvalds	  If your firmware supplies the HCDP table, and you want to
491da177e4SLinus Torvalds	  use the first serial port it describes as the Linux console,
501da177e4SLinus Torvalds	  say Y here.  If your EFI ConOut path contains only a UART
511da177e4SLinus Torvalds	  device, it will become the console automatically.  Otherwise,
521da177e4SLinus Torvalds	  you must specify the "console=hcdp" kernel boot argument.
531da177e4SLinus Torvalds
541da177e4SLinus Torvalds	  Neither the PCDP nor the HCDP affects naming of serial devices,
551da177e4SLinus Torvalds	  so a serial console may be /dev/ttyS0, /dev/ttyS1, etc, depending
561da177e4SLinus Torvalds	  on how the driver discovers devices.
571da177e4SLinus Torvalds
581da177e4SLinus Torvalds	  You must also enable the appropriate drivers (serial, VGA, etc.)
591da177e4SLinus Torvalds
60631dd1a8SJustin P. Mattock	  See DIG64_HCDPv20_042804.pdf available from
61631dd1a8SJustin P. Mattock	  <http://www.dig64.org/specifications/>
621da177e4SLinus Torvalds
636c54c28eSAbhay Salunkeconfig DELL_RBU
646c54c28eSAbhay Salunke	tristate "BIOS update support for DELL systems via sysfs"
656c52f137SDave Jones	depends on X86
666c54c28eSAbhay Salunke	select FW_LOADER
67d05c39eaSTakashi Iwai	select FW_LOADER_USER_HELPER
686c54c28eSAbhay Salunke	help
696c54c28eSAbhay Salunke	 Say m if you want to have the option of updating the BIOS for your
706c54c28eSAbhay Salunke	 DELL system. Note you need a Dell OpenManage or Dell Update package (DUP)
7109509603SMatt LaPlante	 supporting application to communicate with the BIOS regarding the new
726c54c28eSAbhay Salunke	 image for the image update to take effect.
736c54c28eSAbhay Salunke	 See <file:Documentation/dell_rbu.txt> for more details on the driver.
7490563ec4SDoug Warzecha
7590563ec4SDoug Warzechaconfig DCDBAS
7690563ec4SDoug Warzecha	tristate "Dell Systems Management Base Driver"
770d078f6fSBrian Gerst	depends on X86
7890563ec4SDoug Warzecha	help
7990563ec4SDoug Warzecha	  The Dell Systems Management Base Driver provides a sysfs interface
8090563ec4SDoug Warzecha	  for systems management software to perform System Management
8190563ec4SDoug Warzecha	  Interrupts (SMIs) and Host Control Actions (system power cycle or
8290563ec4SDoug Warzecha	  power off after OS shutdown) on certain Dell systems.
8390563ec4SDoug Warzecha
8490563ec4SDoug Warzecha	  See <file:Documentation/dcdbas.txt> for more details on the driver
8590563ec4SDoug Warzecha	  and the Dell systems on which Dell systems management software makes
8690563ec4SDoug Warzecha	  use of this driver.
8790563ec4SDoug Warzecha
8890563ec4SDoug Warzecha	  Say Y or M here to enable the driver for use by Dell systems
8990563ec4SDoug Warzecha	  management software such as Dell OpenManage.
9090563ec4SDoug Warzecha
914f5c791aSLennart Poetteringconfig DMIID
924f5c791aSLennart Poettering    bool "Export DMI identification via sysfs to userspace"
934f5c791aSLennart Poettering    depends on DMI
944f5c791aSLennart Poettering    default y
954f5c791aSLennart Poettering	help
964f5c791aSLennart Poettering	  Say Y here if you want to query SMBIOS/DMI system identification
974f5c791aSLennart Poettering	  information from userspace through /sys/class/dmi/id/ or if you want
984f5c791aSLennart Poettering	  DMI-based module auto-loading.
994f5c791aSLennart Poettering
100948af1f0SMike Waychisonconfig DMI_SYSFS
101948af1f0SMike Waychison	tristate "DMI table support in sysfs"
102948af1f0SMike Waychison	depends on SYSFS && DMI
103948af1f0SMike Waychison	default n
104948af1f0SMike Waychison	help
105948af1f0SMike Waychison	  Say Y or M here to enable the exporting of the raw DMI table
106948af1f0SMike Waychison	  data via sysfs.  This is useful for consuming the data without
107948af1f0SMike Waychison	  requiring any access to /dev/mem at all.  Tables are found
108948af1f0SMike Waychison	  under /sys/firmware/dmi when this option is enabled and
109948af1f0SMike Waychison	  loaded.
110948af1f0SMike Waychison
111cf074402SArd Biesheuvelconfig DMI_SCAN_MACHINE_NON_EFI_FALLBACK
112cf074402SArd Biesheuvel	bool
113cf074402SArd Biesheuvel
114138fe4e0SKonrad Rzeszutekconfig ISCSI_IBFT_FIND
115138fe4e0SKonrad Rzeszutek	bool "iSCSI Boot Firmware Table Attributes"
1169d24622cSLv Zheng	depends on X86 && ACPI
117138fe4e0SKonrad Rzeszutek	default n
118138fe4e0SKonrad Rzeszutek	help
119138fe4e0SKonrad Rzeszutek	  This option enables the kernel to find the region of memory
120138fe4e0SKonrad Rzeszutek	  in which the ISCSI Boot Firmware Table (iBFT) resides. This
121138fe4e0SKonrad Rzeszutek	  is necessary for iSCSI Boot Firmware Table Attributes module to work
122138fe4e0SKonrad Rzeszutek	  properly.
123138fe4e0SKonrad Rzeszutek
124138fe4e0SKonrad Rzeszutekconfig ISCSI_IBFT
125138fe4e0SKonrad Rzeszutek	tristate "iSCSI Boot Firmware Table Attributes module"
126b33a84a3SMike Christie	select ISCSI_BOOT_SYSFS
1273e0f686eSRandy Dunlap	depends on ISCSI_IBFT_FIND && SCSI && SCSI_LOWLEVEL
128138fe4e0SKonrad Rzeszutek	default	n
129138fe4e0SKonrad Rzeszutek	help
130138fe4e0SKonrad Rzeszutek	  This option enables support for detection and exposing of iSCSI
131138fe4e0SKonrad Rzeszutek	  Boot Firmware Table (iBFT) via sysfs to userspace. If you wish to
132138fe4e0SKonrad Rzeszutek	  detect iSCSI boot parameters dynamically during system boot, say Y.
133138fe4e0SKonrad Rzeszutek	  Otherwise, say N.
134138fe4e0SKonrad Rzeszutek
135916f743dSKumar Galaconfig QCOM_SCM
136916f743dSKumar Gala	bool
137916f743dSKumar Gala	depends on ARM || ARM64
138916f743dSKumar Gala
139*f6e734a8SRafał Miłeckisource "drivers/firmware/broadcom/Kconfig"
14074c5b31cSMike Waychisonsource "drivers/firmware/google/Kconfig"
14104851772SMatt Flemingsource "drivers/firmware/efi/Kconfig"
14274c5b31cSMike Waychison
1431da177e4SLinus Torvaldsendmenu
144