xref: /openbmc/linux/drivers/firmware/google/Kconfig (revision d31655ba)
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"
13d31655baSDuncan Laurie	depends on X86 && ACPI && DMI
1474c5b31cSMike Waychison	help
1574c5b31cSMike Waychison	  Say Y here if you want to enable SMI callbacks for Google
1674c5b31cSMike Waychison	  platforms.  This provides an interface for writing to and
17d31655baSDuncan Laurie	  clearing the event log.  If EFI_VARS is also enabled this
18d31655baSDuncan Laurie	  driver provides an interface for reading and writing NVRAM
1974c5b31cSMike Waychison	  variables.
20e561bc45SMike Waychison
21d384d6f4SThierry Escandeconfig GOOGLE_COREBOOT_TABLE
22a28aad66SStephen Boyd	tristate "Coreboot Table Access"
23a28aad66SStephen Boyd	depends on ACPI || OF
24d384d6f4SThierry Escande	help
25d384d6f4SThierry Escande	  This option enables the coreboot_table module, which provides other
26a28aad66SStephen Boyd	  firmware modules access to the coreboot table. The coreboot table
27a28aad66SStephen Boyd	  pointer is accessed through the ACPI "GOOGCB00" object or the
28a28aad66SStephen Boyd	  device tree node /firmware/coreboot.
29d384d6f4SThierry Escande	  If unsure say N.
30d384d6f4SThierry Escande
31a28aad66SStephen Boydconfig GOOGLE_COREBOOT_TABLE_ACPI
32a28aad66SStephen Boyd	tristate
33a1d6f9cfSThierry Escande	select GOOGLE_COREBOOT_TABLE
34a28aad66SStephen Boyd
35a28aad66SStephen Boydconfig GOOGLE_COREBOOT_TABLE_OF
36a28aad66SStephen Boyd	tristate
37a28aad66SStephen Boyd	select GOOGLE_COREBOOT_TABLE
38a1d6f9cfSThierry Escande
39e561bc45SMike Waychisonconfig GOOGLE_MEMCONSOLE
40afe9dba4SThierry Escande	tristate
41d384d6f4SThierry Escande	depends on GOOGLE_MEMCONSOLE_X86_LEGACY || GOOGLE_MEMCONSOLE_COREBOOT
42afe9dba4SThierry Escande
43afe9dba4SThierry Escandeconfig GOOGLE_MEMCONSOLE_X86_LEGACY
44afe9dba4SThierry Escande	tristate "Firmware Memory Console - X86 Legacy support"
45afe9dba4SThierry Escande	depends on X86 && ACPI && DMI
46afe9dba4SThierry Escande	select GOOGLE_MEMCONSOLE
47e561bc45SMike Waychison	help
48e561bc45SMike Waychison	  This option enables the kernel to search for a firmware log in
49e561bc45SMike Waychison	  the EBDA on Google servers.  If found, this log is exported to
50e561bc45SMike Waychison	  userland in the file /sys/firmware/log.
51a1d9a09aSMike Waychison
52851b4c14SSamuel Hollandconfig GOOGLE_FRAMEBUFFER_COREBOOT
53851b4c14SSamuel Holland	tristate "Coreboot Framebuffer"
54851b4c14SSamuel Holland	depends on FB_SIMPLE
55851b4c14SSamuel Holland	depends on GOOGLE_COREBOOT_TABLE
56851b4c14SSamuel Holland	help
57851b4c14SSamuel Holland	  This option enables the kernel to search for a framebuffer in
58851b4c14SSamuel Holland	  the coreboot table.  If found, it is registered with simplefb.
59851b4c14SSamuel Holland
60d384d6f4SThierry Escandeconfig GOOGLE_MEMCONSOLE_COREBOOT
61d384d6f4SThierry Escande	tristate "Firmware Memory Console"
62d384d6f4SThierry Escande	depends on GOOGLE_COREBOOT_TABLE
63d384d6f4SThierry Escande	select GOOGLE_MEMCONSOLE
64d384d6f4SThierry Escande	help
65d384d6f4SThierry Escande	  This option enables the kernel to search for a firmware log in
66d384d6f4SThierry Escande	  the coreboot table.  If found, this log is exported to userland
67d384d6f4SThierry Escande	  in the file /sys/firmware/log.
68d384d6f4SThierry Escande
69049a59dbSWei-Ning Huangconfig GOOGLE_VPD
70049a59dbSWei-Ning Huang	tristate "Vital Product Data"
71049a59dbSWei-Ning Huang	depends on GOOGLE_COREBOOT_TABLE
72049a59dbSWei-Ning Huang	help
73049a59dbSWei-Ning Huang	  This option enables the kernel to expose the content of Google VPD
74049a59dbSWei-Ning Huang	  under /sys/firmware/vpd.
75049a59dbSWei-Ning Huang
76f952a401SThierry Escandeendif # GOOGLE_FIRMWARE
77