xref: /openbmc/linux/drivers/firmware/Kconfig (revision 6a108a14)
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
30*6a108a14SDavid 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_VARS
401da177e4SLinus Torvalds	tristate "EFI Variable Support via sysfs"
411da177e4SLinus Torvalds	depends on EFI
421da177e4SLinus Torvalds	default n
431da177e4SLinus Torvalds	help
441da177e4SLinus Torvalds	  If you say Y here, you are able to get EFI (Extensible Firmware
451da177e4SLinus Torvalds	  Interface) variable information via sysfs.  You may read,
461da177e4SLinus Torvalds	  write, create, and destroy EFI variables through this interface.
471da177e4SLinus Torvalds
481da177e4SLinus Torvalds	  Note that using this driver in concert with efibootmgr requires
491da177e4SLinus Torvalds	  at least test release version 0.5.0-test3 or later, which is
501da177e4SLinus Torvalds	  available from Matt Domsch's website located at:
511da177e4SLinus Torvalds	  <http://linux.dell.com/efibootmgr/testing/efibootmgr-0.5.0-test3.tar.gz>
521da177e4SLinus Torvalds
531da177e4SLinus Torvalds	  Subsequent efibootmgr releases may be found at:
541da177e4SLinus Torvalds	  <http://linux.dell.com/efibootmgr>
551da177e4SLinus Torvalds
561da177e4SLinus Torvaldsconfig EFI_PCDP
571da177e4SLinus Torvalds	bool "Console device selection via EFI PCDP or HCDP table"
581da177e4SLinus Torvalds	depends on ACPI && EFI && IA64
591da177e4SLinus Torvalds	default y if IA64
601da177e4SLinus Torvalds	help
611da177e4SLinus Torvalds	  If your firmware supplies the PCDP table, and you want to
621da177e4SLinus Torvalds	  automatically use the primary console device it describes
631da177e4SLinus Torvalds	  as the Linux console, say Y here.
641da177e4SLinus Torvalds
651da177e4SLinus Torvalds	  If your firmware supplies the HCDP table, and you want to
661da177e4SLinus Torvalds	  use the first serial port it describes as the Linux console,
671da177e4SLinus Torvalds	  say Y here.  If your EFI ConOut path contains only a UART
681da177e4SLinus Torvalds	  device, it will become the console automatically.  Otherwise,
691da177e4SLinus Torvalds	  you must specify the "console=hcdp" kernel boot argument.
701da177e4SLinus Torvalds
711da177e4SLinus Torvalds	  Neither the PCDP nor the HCDP affects naming of serial devices,
721da177e4SLinus Torvalds	  so a serial console may be /dev/ttyS0, /dev/ttyS1, etc, depending
731da177e4SLinus Torvalds	  on how the driver discovers devices.
741da177e4SLinus Torvalds
751da177e4SLinus Torvalds	  You must also enable the appropriate drivers (serial, VGA, etc.)
761da177e4SLinus Torvalds
77631dd1a8SJustin P. Mattock	  See DIG64_HCDPv20_042804.pdf available from
78631dd1a8SJustin P. Mattock	  <http://www.dig64.org/specifications/>
791da177e4SLinus Torvalds
806c54c28eSAbhay Salunkeconfig DELL_RBU
816c54c28eSAbhay Salunke	tristate "BIOS update support for DELL systems via sysfs"
826c52f137SDave Jones	depends on X86
836c54c28eSAbhay Salunke	select FW_LOADER
846c54c28eSAbhay Salunke	help
856c54c28eSAbhay Salunke	 Say m if you want to have the option of updating the BIOS for your
866c54c28eSAbhay Salunke	 DELL system. Note you need a Dell OpenManage or Dell Update package (DUP)
8709509603SMatt LaPlante	 supporting application to communicate with the BIOS regarding the new
886c54c28eSAbhay Salunke	 image for the image update to take effect.
896c54c28eSAbhay Salunke	 See <file:Documentation/dell_rbu.txt> for more details on the driver.
9090563ec4SDoug Warzecha
9190563ec4SDoug Warzechaconfig DCDBAS
9290563ec4SDoug Warzecha	tristate "Dell Systems Management Base Driver"
930d078f6fSBrian Gerst	depends on X86
9490563ec4SDoug Warzecha	help
9590563ec4SDoug Warzecha	  The Dell Systems Management Base Driver provides a sysfs interface
9690563ec4SDoug Warzecha	  for systems management software to perform System Management
9790563ec4SDoug Warzecha	  Interrupts (SMIs) and Host Control Actions (system power cycle or
9890563ec4SDoug Warzecha	  power off after OS shutdown) on certain Dell systems.
9990563ec4SDoug Warzecha
10090563ec4SDoug Warzecha	  See <file:Documentation/dcdbas.txt> for more details on the driver
10190563ec4SDoug Warzecha	  and the Dell systems on which Dell systems management software makes
10290563ec4SDoug Warzecha	  use of this driver.
10390563ec4SDoug Warzecha
10490563ec4SDoug Warzecha	  Say Y or M here to enable the driver for use by Dell systems
10590563ec4SDoug Warzecha	  management software such as Dell OpenManage.
10690563ec4SDoug Warzecha
1074f5c791aSLennart Poetteringconfig DMIID
1084f5c791aSLennart Poettering    bool "Export DMI identification via sysfs to userspace"
1094f5c791aSLennart Poettering    depends on DMI
1104f5c791aSLennart Poettering    default y
1114f5c791aSLennart Poettering	help
1124f5c791aSLennart Poettering	  Say Y here if you want to query SMBIOS/DMI system identification
1134f5c791aSLennart Poettering	  information from userspace through /sys/class/dmi/id/ or if you want
1144f5c791aSLennart Poettering	  DMI-based module auto-loading.
1154f5c791aSLennart Poettering
116138fe4e0SKonrad Rzeszutekconfig ISCSI_IBFT_FIND
117138fe4e0SKonrad Rzeszutek	bool "iSCSI Boot Firmware Table Attributes"
118138fe4e0SKonrad Rzeszutek	depends on X86
119138fe4e0SKonrad Rzeszutek	default n
120138fe4e0SKonrad Rzeszutek	help
121138fe4e0SKonrad Rzeszutek	  This option enables the kernel to find the region of memory
122138fe4e0SKonrad Rzeszutek	  in which the ISCSI Boot Firmware Table (iBFT) resides. This
123138fe4e0SKonrad Rzeszutek	  is necessary for iSCSI Boot Firmware Table Attributes module to work
124138fe4e0SKonrad Rzeszutek	  properly.
125138fe4e0SKonrad Rzeszutek
126138fe4e0SKonrad Rzeszutekconfig ISCSI_IBFT
127138fe4e0SKonrad Rzeszutek	tristate "iSCSI Boot Firmware Table Attributes module"
128b33a84a3SMike Christie	select ISCSI_BOOT_SYSFS
1293e0f686eSRandy Dunlap	depends on ISCSI_IBFT_FIND && SCSI && SCSI_LOWLEVEL
130138fe4e0SKonrad Rzeszutek	default	n
131138fe4e0SKonrad Rzeszutek	help
132138fe4e0SKonrad Rzeszutek	  This option enables support for detection and exposing of iSCSI
133138fe4e0SKonrad Rzeszutek	  Boot Firmware Table (iBFT) via sysfs to userspace. If you wish to
134138fe4e0SKonrad Rzeszutek	  detect iSCSI boot parameters dynamically during system boot, say Y.
135138fe4e0SKonrad Rzeszutek	  Otherwise, say N.
136138fe4e0SKonrad Rzeszutek
1371da177e4SLinus Torvaldsendmenu
138