brintos

brintos / linux-shallow public Read only

0
0
Text · 2.7 KiB · 41b78f5 Raw
85 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2menuconfig GOOGLE_FIRMWARE3	bool "Google Firmware Drivers"4	default n5	help6	  These firmware drivers are used by Google servers,7	  Chromebooks and other devices using coreboot firmware.8	  If in doubt, say "N".9 10if GOOGLE_FIRMWARE11 12config GOOGLE_SMI13	tristate "SMI interface for Google platforms"14	depends on X86 && ACPI && DMI15	help16	  Say Y here if you want to enable SMI callbacks for Google17	  platforms.  This provides an interface for writing to and18	  clearing the event log.  If CONFIG_EFI is also enabled this19	  driver provides an interface for reading and writing NVRAM20	  variables.21 22config GOOGLE_CBMEM23	tristate "CBMEM entries in sysfs"24	depends on GOOGLE_COREBOOT_TABLE25	help26	  CBMEM is a downwards-growing memory region created by the27	  Coreboot BIOS containing tagged data structures from the28	  BIOS.  These data structures expose things like the verified29	  boot firmware variables, flash layout, firmware event log,30	  and more.31 32	  This option enables the cbmem module, which causes the33	  kernel to search for Coreboot CBMEM entries, and expose the34	  memory for each entry in sysfs under35	  /sys/bus/coreboot/devices/cbmem-<id>.36 37config GOOGLE_COREBOOT_TABLE38	tristate "Coreboot Table Access"39	depends on HAS_IOMEM && (ACPI || OF)40	help41	  This option enables the coreboot_table module, which provides other42	  firmware modules access to the coreboot table. The coreboot table43	  pointer is accessed through the ACPI "GOOGCB00" object or the44	  device tree node /firmware/coreboot.45	  If unsure say N.46 47config GOOGLE_MEMCONSOLE48	tristate49	depends on GOOGLE_MEMCONSOLE_X86_LEGACY || GOOGLE_MEMCONSOLE_COREBOOT50 51config GOOGLE_MEMCONSOLE_X86_LEGACY52	tristate "Firmware Memory Console - X86 Legacy support"53	depends on X86 && ACPI && DMI54	select GOOGLE_MEMCONSOLE55	help56	  This option enables the kernel to search for a firmware log in57	  the EBDA on Google servers.  If found, this log is exported to58	  userland in the file /sys/firmware/log.59 60config GOOGLE_FRAMEBUFFER_COREBOOT61	tristate "Coreboot Framebuffer"62	depends on FB_SIMPLE || DRM_SIMPLEDRM63	depends on GOOGLE_COREBOOT_TABLE64	help65	  This option enables the kernel to search for a framebuffer in66	  the coreboot table.  If found, it is registered with simplefb.67 68config GOOGLE_MEMCONSOLE_COREBOOT69	tristate "Firmware Memory Console"70	depends on GOOGLE_COREBOOT_TABLE71	select GOOGLE_MEMCONSOLE72	help73	  This option enables the kernel to search for a firmware log in74	  the coreboot table.  If found, this log is exported to userland75	  in the file /sys/firmware/log.76 77config GOOGLE_VPD78	tristate "Vital Product Data"79	depends on GOOGLE_COREBOOT_TABLE80	help81	  This option enables the kernel to expose the content of Google VPD82	  under /sys/firmware/vpd.83 84endif # GOOGLE_FIRMWARE85