Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Introduce CONFIG_GOOGLE_FIRMWARE

In order to keep Google's firmware drivers organized amongst themselves,
all Google firmware drivers are gated on CONFIG_GOOGLE_FIRMWARE=y, which
defaults to 'n' in the kernel build.

Signed-off-by: Mike Waychison <mikew@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Mike Waychison and committed by
Greg Kroah-Hartman
a1d9a09a e561bc45

+15 -1
+1 -1
drivers/firmware/Makefile
··· 14 14 obj-$(CONFIG_FIRMWARE_MEMMAP) += memmap.o 15 15 obj-$(CONFIG_SIGMA) += sigma.o 16 16 17 - obj-y += google/ 17 + obj-$(CONFIG_GOOGLE_FIRMWARE) += google/
+14
drivers/firmware/google/Kconfig
··· 1 + config 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 + 10 + menu "Google Firmware Drivers" 11 + depends on GOOGLE_FIRMWARE 12 + 1 13 config GOOGLE_SMI 2 14 tristate "SMI interface for Google platforms" 3 15 depends on ACPI && DMI ··· 27 15 This option enables the kernel to search for a firmware log in 28 16 the EBDA on Google servers. If found, this log is exported to 29 17 userland in the file /sys/firmware/log. 18 + 19 + endmenu