xref: /openbmc/linux/drivers/firmware/google/Kconfig (revision ebd09753)
1menuconfig GOOGLE_FIRMWARE
2	bool "Google Firmware Drivers"
3	default n
4	help
5	  These firmware drivers are used by Google's servers.  They are
6	  only useful if you are working directly on one of their
7	  proprietary servers.  If in doubt, say "N".
8
9if GOOGLE_FIRMWARE
10
11config GOOGLE_SMI
12	tristate "SMI interface for Google platforms"
13	depends on X86 && ACPI && DMI
14	help
15	  Say Y here if you want to enable SMI callbacks for Google
16	  platforms.  This provides an interface for writing to and
17	  clearing the event log.  If EFI_VARS is also enabled this
18	  driver provides an interface for reading and writing NVRAM
19	  variables.
20
21config GOOGLE_COREBOOT_TABLE
22	tristate "Coreboot Table Access"
23	depends on ACPI || OF
24	help
25	  This option enables the coreboot_table module, which provides other
26	  firmware modules access to the coreboot table. The coreboot table
27	  pointer is accessed through the ACPI "GOOGCB00" object or the
28	  device tree node /firmware/coreboot.
29	  If unsure say N.
30
31config GOOGLE_COREBOOT_TABLE_ACPI
32	tristate
33	select GOOGLE_COREBOOT_TABLE
34
35config GOOGLE_COREBOOT_TABLE_OF
36	tristate
37	select GOOGLE_COREBOOT_TABLE
38
39config GOOGLE_MEMCONSOLE
40	tristate
41	depends on GOOGLE_MEMCONSOLE_X86_LEGACY || GOOGLE_MEMCONSOLE_COREBOOT
42
43config GOOGLE_MEMCONSOLE_X86_LEGACY
44	tristate "Firmware Memory Console - X86 Legacy support"
45	depends on X86 && ACPI && DMI
46	select GOOGLE_MEMCONSOLE
47	help
48	  This option enables the kernel to search for a firmware log in
49	  the EBDA on Google servers.  If found, this log is exported to
50	  userland in the file /sys/firmware/log.
51
52config GOOGLE_FRAMEBUFFER_COREBOOT
53	tristate "Coreboot Framebuffer"
54	depends on FB_SIMPLE
55	depends on GOOGLE_COREBOOT_TABLE
56	help
57	  This option enables the kernel to search for a framebuffer in
58	  the coreboot table.  If found, it is registered with simplefb.
59
60config GOOGLE_MEMCONSOLE_COREBOOT
61	tristate "Firmware Memory Console"
62	depends on GOOGLE_COREBOOT_TABLE
63	select GOOGLE_MEMCONSOLE
64	help
65	  This option enables the kernel to search for a firmware log in
66	  the coreboot table.  If found, this log is exported to userland
67	  in the file /sys/firmware/log.
68
69config GOOGLE_VPD
70	tristate "Vital Product Data"
71	depends on GOOGLE_COREBOOT_TABLE
72	help
73	  This option enables the kernel to expose the content of Google VPD
74	  under /sys/firmware/vpd.
75
76endif # GOOGLE_FIRMWARE
77