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