xref: /openbmc/linux/drivers/firmware/google/Kconfig (revision d384d6f4)
1f952a401SThierry Escandemenuconfig GOOGLE_FIRMWARE
2a1d9a09aSMike Waychison	bool "Google Firmware Drivers"
3a1d9a09aSMike Waychison	depends on X86
4a1d9a09aSMike Waychison	default n
5a1d9a09aSMike Waychison	help
6a1d9a09aSMike Waychison	  These firmware drivers are used by Google's servers.  They are
7a1d9a09aSMike Waychison	  only useful if you are working directly on one of their
8a1d9a09aSMike Waychison	  proprietary servers.  If in doubt, say "N".
9a1d9a09aSMike Waychison
10f952a401SThierry Escandeif GOOGLE_FIRMWARE
11a1d9a09aSMike Waychison
1274c5b31cSMike Waychisonconfig GOOGLE_SMI
1374c5b31cSMike Waychison	tristate "SMI interface for Google platforms"
14c2218e26SArd Biesheuvel	depends on ACPI && DMI && EFI
1574c5b31cSMike Waychison	select EFI_VARS
1674c5b31cSMike Waychison	help
1774c5b31cSMike Waychison	  Say Y here if you want to enable SMI callbacks for Google
1874c5b31cSMike Waychison	  platforms.  This provides an interface for writing to and
1974c5b31cSMike Waychison	  clearing the EFI event log and reading and writing NVRAM
2074c5b31cSMike Waychison	  variables.
21e561bc45SMike Waychison
22d384d6f4SThierry Escandeconfig GOOGLE_COREBOOT_TABLE
23d384d6f4SThierry Escande	tristate
24d384d6f4SThierry Escande	depends on GOOGLE_COREBOOT_TABLE_ACPI
25d384d6f4SThierry Escande
26d384d6f4SThierry Escandeconfig GOOGLE_COREBOOT_TABLE_ACPI
27d384d6f4SThierry Escande	tristate "Coreboot Table Access - ACPI"
28d384d6f4SThierry Escande	depends on ACPI
29d384d6f4SThierry Escande	select GOOGLE_COREBOOT_TABLE
30d384d6f4SThierry Escande	help
31d384d6f4SThierry Escande	  This option enables the coreboot_table module, which provides other
32d384d6f4SThierry Escande	  firmware modules to access to the coreboot table. The coreboot table
33d384d6f4SThierry Escande	  pointer is accessed through the ACPI "GOOGCB00" object.
34d384d6f4SThierry Escande	  If unsure say N.
35d384d6f4SThierry Escande
36e561bc45SMike Waychisonconfig GOOGLE_MEMCONSOLE
37afe9dba4SThierry Escande	tristate
38d384d6f4SThierry Escande	depends on GOOGLE_MEMCONSOLE_X86_LEGACY || GOOGLE_MEMCONSOLE_COREBOOT
39afe9dba4SThierry Escande
40afe9dba4SThierry Escandeconfig GOOGLE_MEMCONSOLE_X86_LEGACY
41afe9dba4SThierry Escande	tristate "Firmware Memory Console - X86 Legacy support"
42afe9dba4SThierry Escande	depends on X86 && ACPI && DMI
43afe9dba4SThierry Escande	select GOOGLE_MEMCONSOLE
44e561bc45SMike Waychison	help
45e561bc45SMike Waychison	  This option enables the kernel to search for a firmware log in
46e561bc45SMike Waychison	  the EBDA on Google servers.  If found, this log is exported to
47e561bc45SMike Waychison	  userland in the file /sys/firmware/log.
48a1d9a09aSMike Waychison
49d384d6f4SThierry Escandeconfig GOOGLE_MEMCONSOLE_COREBOOT
50d384d6f4SThierry Escande	tristate "Firmware Memory Console"
51d384d6f4SThierry Escande	depends on GOOGLE_COREBOOT_TABLE
52d384d6f4SThierry Escande	select GOOGLE_MEMCONSOLE
53d384d6f4SThierry Escande	help
54d384d6f4SThierry Escande	  This option enables the kernel to search for a firmware log in
55d384d6f4SThierry Escande	  the coreboot table.  If found, this log is exported to userland
56d384d6f4SThierry Escande	  in the file /sys/firmware/log.
57d384d6f4SThierry Escande
58f952a401SThierry Escandeendif # GOOGLE_FIRMWARE
59