1 # SPDX-License-Identifier: GPL-2.0-only
2 menuconfig GOOGLE_FIRMWARE
3 bool "Google Firmware Drivers"
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".
13 tristate "SMI interface for Google platforms"
14 depends on X86 && ACPI && DMI
16 Say Y here if you want to enable SMI callbacks for Google
17 platforms. This provides an interface for writing to and
18 clearing the event log. If CONFIG_EFI is also enabled this
19 driver provides an interface for reading and writing NVRAM
22 config GOOGLE_COREBOOT_TABLE
23 tristate "Coreboot Table Access"
26 This option enables the coreboot_table module, which provides other
27 firmware modules access to the coreboot table. The coreboot table
28 pointer is accessed through the ACPI "GOOGCB00" object or the
29 device tree node /firmware/coreboot.
32 config GOOGLE_COREBOOT_TABLE_ACPI
34 select GOOGLE_COREBOOT_TABLE
36 config GOOGLE_COREBOOT_TABLE_OF
38 select GOOGLE_COREBOOT_TABLE
40 config GOOGLE_MEMCONSOLE
42 depends on GOOGLE_MEMCONSOLE_X86_LEGACY || GOOGLE_MEMCONSOLE_COREBOOT
44 config GOOGLE_MEMCONSOLE_X86_LEGACY
45 tristate "Firmware Memory Console - X86 Legacy support"
46 depends on X86 && ACPI && DMI
47 select GOOGLE_MEMCONSOLE
49 This option enables the kernel to search for a firmware log in
50 the EBDA on Google servers. If found, this log is exported to
51 userland in the file /sys/firmware/log.
53 config GOOGLE_FRAMEBUFFER_COREBOOT
54 tristate "Coreboot Framebuffer"
56 depends on GOOGLE_COREBOOT_TABLE
58 This option enables the kernel to search for a framebuffer in
59 the coreboot table. If found, it is registered with simplefb.
61 config GOOGLE_MEMCONSOLE_COREBOOT
62 tristate "Firmware Memory Console"
63 depends on GOOGLE_COREBOOT_TABLE
64 select GOOGLE_MEMCONSOLE
66 This option enables the kernel to search for a firmware log in
67 the coreboot table. If found, this log is exported to userland
68 in the file /sys/firmware/log.
71 tristate "Vital Product Data"
72 depends on GOOGLE_COREBOOT_TABLE
74 This option enables the kernel to expose the content of Google VPD
75 under /sys/firmware/vpd.
77 endif # GOOGLE_FIRMWARE