Skip to content

Commit

Permalink
Introduce CONFIG_GOOGLE_FIRMWARE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Waychison authored and Greg Kroah-Hartman committed Apr 30, 2011
1 parent e561bc4 commit a1d9a09
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/firmware/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ obj-$(CONFIG_ISCSI_IBFT) += iscsi_ibft.o
obj-$(CONFIG_FIRMWARE_MEMMAP) += memmap.o
obj-$(CONFIG_SIGMA) += sigma.o

obj-y += google/
obj-$(CONFIG_GOOGLE_FIRMWARE) += google/
14 changes: 14 additions & 0 deletions drivers/firmware/google/Kconfig
Original file line number Diff line number Diff line change
@@ -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
tristate "SMI interface for Google platforms"
depends on ACPI && DMI
Expand All @@ -15,3 +27,5 @@ config GOOGLE_MEMCONSOLE
This option enables the kernel to search for a firmware log in
the EBDA on Google servers. If found, this log is exported to
userland in the file /sys/firmware/log.

endmenu

0 comments on commit a1d9a09

Please sign in to comment.