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>
This commit is contained in:
Mike Waychison 2011-04-29 17:39:31 -07:00 committed by Greg Kroah-Hartman
parent e561bc4592
commit a1d9a09ae8
2 changed files with 15 additions and 1 deletions

View File

@ -14,4 +14,4 @@ obj-$(CONFIG_ISCSI_IBFT) += iscsi_ibft.o
obj-$(CONFIG_FIRMWARE_MEMMAP) += memmap.o obj-$(CONFIG_FIRMWARE_MEMMAP) += memmap.o
obj-$(CONFIG_SIGMA) += sigma.o obj-$(CONFIG_SIGMA) += sigma.o
obj-y += google/ obj-$(CONFIG_GOOGLE_FIRMWARE) += google/

View File

@ -1,3 +1,15 @@
config GOOGLE_FIRMWARE
bool "Google Firmware Drivers"
depends on X86
default n
help
These firmware drivers are used by Google's servers. They are
only useful if you are working directly on one of their
proprietary servers. If in doubt, say "N".
menu "Google Firmware Drivers"
depends on GOOGLE_FIRMWARE
config GOOGLE_SMI config GOOGLE_SMI
tristate "SMI interface for Google platforms" tristate "SMI interface for Google platforms"
depends on ACPI && DMI depends on ACPI && DMI
@ -15,3 +27,5 @@ config GOOGLE_MEMCONSOLE
This option enables the kernel to search for a firmware log in This option enables the kernel to search for a firmware log in
the EBDA on Google servers. If found, this log is exported to the EBDA on Google servers. If found, this log is exported to
userland in the file /sys/firmware/log. userland in the file /sys/firmware/log.
endmenu