18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_cimenuconfig GOOGLE_FIRMWARE 38c2ecf20Sopenharmony_ci bool "Google Firmware Drivers" 48c2ecf20Sopenharmony_ci default n 58c2ecf20Sopenharmony_ci help 68c2ecf20Sopenharmony_ci These firmware drivers are used by Google servers, 78c2ecf20Sopenharmony_ci Chromebooks and other devices using coreboot firmware. 88c2ecf20Sopenharmony_ci If in doubt, say "N". 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciif GOOGLE_FIRMWARE 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciconfig GOOGLE_SMI 138c2ecf20Sopenharmony_ci tristate "SMI interface for Google platforms" 148c2ecf20Sopenharmony_ci depends on X86 && ACPI && DMI 158c2ecf20Sopenharmony_ci help 168c2ecf20Sopenharmony_ci Say Y here if you want to enable SMI callbacks for Google 178c2ecf20Sopenharmony_ci platforms. This provides an interface for writing to and 188c2ecf20Sopenharmony_ci clearing the event log. If CONFIG_EFI is also enabled this 198c2ecf20Sopenharmony_ci driver provides an interface for reading and writing NVRAM 208c2ecf20Sopenharmony_ci variables. 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciconfig GOOGLE_COREBOOT_TABLE 238c2ecf20Sopenharmony_ci tristate "Coreboot Table Access" 248c2ecf20Sopenharmony_ci depends on HAS_IOMEM && (ACPI || OF) 258c2ecf20Sopenharmony_ci help 268c2ecf20Sopenharmony_ci This option enables the coreboot_table module, which provides other 278c2ecf20Sopenharmony_ci firmware modules access to the coreboot table. The coreboot table 288c2ecf20Sopenharmony_ci pointer is accessed through the ACPI "GOOGCB00" object or the 298c2ecf20Sopenharmony_ci device tree node /firmware/coreboot. 308c2ecf20Sopenharmony_ci If unsure say N. 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ciconfig GOOGLE_COREBOOT_TABLE_ACPI 338c2ecf20Sopenharmony_ci tristate 348c2ecf20Sopenharmony_ci select GOOGLE_COREBOOT_TABLE 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ciconfig GOOGLE_COREBOOT_TABLE_OF 378c2ecf20Sopenharmony_ci tristate 388c2ecf20Sopenharmony_ci select GOOGLE_COREBOOT_TABLE 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ciconfig GOOGLE_MEMCONSOLE 418c2ecf20Sopenharmony_ci tristate 428c2ecf20Sopenharmony_ci depends on GOOGLE_MEMCONSOLE_X86_LEGACY || GOOGLE_MEMCONSOLE_COREBOOT 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ciconfig GOOGLE_MEMCONSOLE_X86_LEGACY 458c2ecf20Sopenharmony_ci tristate "Firmware Memory Console - X86 Legacy support" 468c2ecf20Sopenharmony_ci depends on X86 && ACPI && DMI 478c2ecf20Sopenharmony_ci select GOOGLE_MEMCONSOLE 488c2ecf20Sopenharmony_ci help 498c2ecf20Sopenharmony_ci This option enables the kernel to search for a firmware log in 508c2ecf20Sopenharmony_ci the EBDA on Google servers. If found, this log is exported to 518c2ecf20Sopenharmony_ci userland in the file /sys/firmware/log. 528c2ecf20Sopenharmony_ci 538c2ecf20Sopenharmony_ciconfig GOOGLE_FRAMEBUFFER_COREBOOT 548c2ecf20Sopenharmony_ci tristate "Coreboot Framebuffer" 558c2ecf20Sopenharmony_ci depends on FB_SIMPLE 568c2ecf20Sopenharmony_ci depends on GOOGLE_COREBOOT_TABLE 578c2ecf20Sopenharmony_ci help 588c2ecf20Sopenharmony_ci This option enables the kernel to search for a framebuffer in 598c2ecf20Sopenharmony_ci the coreboot table. If found, it is registered with simplefb. 608c2ecf20Sopenharmony_ci 618c2ecf20Sopenharmony_ciconfig GOOGLE_MEMCONSOLE_COREBOOT 628c2ecf20Sopenharmony_ci tristate "Firmware Memory Console" 638c2ecf20Sopenharmony_ci depends on GOOGLE_COREBOOT_TABLE 648c2ecf20Sopenharmony_ci select GOOGLE_MEMCONSOLE 658c2ecf20Sopenharmony_ci help 668c2ecf20Sopenharmony_ci This option enables the kernel to search for a firmware log in 678c2ecf20Sopenharmony_ci the coreboot table. If found, this log is exported to userland 688c2ecf20Sopenharmony_ci in the file /sys/firmware/log. 698c2ecf20Sopenharmony_ci 708c2ecf20Sopenharmony_ciconfig GOOGLE_VPD 718c2ecf20Sopenharmony_ci tristate "Vital Product Data" 728c2ecf20Sopenharmony_ci depends on GOOGLE_COREBOOT_TABLE 738c2ecf20Sopenharmony_ci help 748c2ecf20Sopenharmony_ci This option enables the kernel to expose the content of Google VPD 758c2ecf20Sopenharmony_ci under /sys/firmware/vpd. 768c2ecf20Sopenharmony_ci 778c2ecf20Sopenharmony_ciendif # GOOGLE_FIRMWARE 78