xref: /linux/drivers/firmware/google/Kconfig (revision 049a59db34eb4c41a0231f983f180053db8f80d4)
1f952a401SThierry Escandemenuconfig GOOGLE_FIRMWARE
2a1d9a09aSMike Waychison	bool "Google Firmware Drivers"
3a1d9a09aSMike Waychison	default n
4a1d9a09aSMike Waychison	help
5a1d9a09aSMike Waychison	  These firmware drivers are used by Google's servers.  They are
6a1d9a09aSMike Waychison	  only useful if you are working directly on one of their
7a1d9a09aSMike Waychison	  proprietary servers.  If in doubt, say "N".
8a1d9a09aSMike Waychison
9f952a401SThierry Escandeif GOOGLE_FIRMWARE
10a1d9a09aSMike Waychison
1174c5b31cSMike Waychisonconfig GOOGLE_SMI
1274c5b31cSMike Waychison	tristate "SMI interface for Google platforms"
13a1d6f9cfSThierry Escande	depends on X86 && ACPI && DMI && EFI
1474c5b31cSMike Waychison	select EFI_VARS
1574c5b31cSMike Waychison	help
1674c5b31cSMike Waychison	  Say Y here if you want to enable SMI callbacks for Google
1774c5b31cSMike Waychison	  platforms.  This provides an interface for writing to and
1874c5b31cSMike Waychison	  clearing the EFI event log and reading and writing NVRAM
1974c5b31cSMike Waychison	  variables.
20e561bc45SMike Waychison
21d384d6f4SThierry Escandeconfig GOOGLE_COREBOOT_TABLE
22d384d6f4SThierry Escande	tristate
23a1d6f9cfSThierry Escande	depends on GOOGLE_COREBOOT_TABLE_ACPI || GOOGLE_COREBOOT_TABLE_OF
24d384d6f4SThierry Escande
25d384d6f4SThierry Escandeconfig GOOGLE_COREBOOT_TABLE_ACPI
26d384d6f4SThierry Escande	tristate "Coreboot Table Access - ACPI"
27d384d6f4SThierry Escande	depends on ACPI
28d384d6f4SThierry Escande	select GOOGLE_COREBOOT_TABLE
29d384d6f4SThierry Escande	help
30d384d6f4SThierry Escande	  This option enables the coreboot_table module, which provides other
31d384d6f4SThierry Escande	  firmware modules to access to the coreboot table. The coreboot table
32d384d6f4SThierry Escande	  pointer is accessed through the ACPI "GOOGCB00" object.
33d384d6f4SThierry Escande	  If unsure say N.
34d384d6f4SThierry Escande
35a1d6f9cfSThierry Escandeconfig GOOGLE_COREBOOT_TABLE_OF
36a1d6f9cfSThierry Escande	tristate "Coreboot Table Access - Device Tree"
37a1d6f9cfSThierry Escande	depends on OF
38a1d6f9cfSThierry Escande	select GOOGLE_COREBOOT_TABLE
39a1d6f9cfSThierry Escande	help
40a1d6f9cfSThierry Escande	  This option enable the coreboot_table module, which provide other
41a1d6f9cfSThierry Escande	  firmware modules to access coreboot table. The coreboot table pointer
42a1d6f9cfSThierry Escande	  is accessed through the device tree node /firmware/coreboot.
43a1d6f9cfSThierry Escande	  If unsure say N.
44a1d6f9cfSThierry Escande
45e561bc45SMike Waychisonconfig GOOGLE_MEMCONSOLE
46afe9dba4SThierry Escande	tristate
47d384d6f4SThierry Escande	depends on GOOGLE_MEMCONSOLE_X86_LEGACY || GOOGLE_MEMCONSOLE_COREBOOT
48afe9dba4SThierry Escande
49afe9dba4SThierry Escandeconfig GOOGLE_MEMCONSOLE_X86_LEGACY
50afe9dba4SThierry Escande	tristate "Firmware Memory Console - X86 Legacy support"
51afe9dba4SThierry Escande	depends on X86 && ACPI && DMI
52afe9dba4SThierry Escande	select GOOGLE_MEMCONSOLE
53e561bc45SMike Waychison	help
54e561bc45SMike Waychison	  This option enables the kernel to search for a firmware log in
55e561bc45SMike Waychison	  the EBDA on Google servers.  If found, this log is exported to
56e561bc45SMike Waychison	  userland in the file /sys/firmware/log.
57a1d9a09aSMike Waychison
58d384d6f4SThierry Escandeconfig GOOGLE_MEMCONSOLE_COREBOOT
59d384d6f4SThierry Escande	tristate "Firmware Memory Console"
60d384d6f4SThierry Escande	depends on GOOGLE_COREBOOT_TABLE
61d384d6f4SThierry Escande	select GOOGLE_MEMCONSOLE
62d384d6f4SThierry Escande	help
63d384d6f4SThierry Escande	  This option enables the kernel to search for a firmware log in
64d384d6f4SThierry Escande	  the coreboot table.  If found, this log is exported to userland
65d384d6f4SThierry Escande	  in the file /sys/firmware/log.
66d384d6f4SThierry Escande
67*049a59dbSWei-Ning Huangconfig GOOGLE_VPD
68*049a59dbSWei-Ning Huang	tristate "Vital Product Data"
69*049a59dbSWei-Ning Huang	depends on GOOGLE_COREBOOT_TABLE
70*049a59dbSWei-Ning Huang	help
71*049a59dbSWei-Ning Huang	  This option enables the kernel to expose the content of Google VPD
72*049a59dbSWei-Ning Huang	  under /sys/firmware/vpd.
73*049a59dbSWei-Ning Huang
74f952a401SThierry Escandeendif # GOOGLE_FIRMWARE
75