aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMike Waychison <mikew@google.com>2011-04-29 20:39:31 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-29 21:09:35 -0400
commita1d9a09ae8003380a7f2297ee4367947cbdf874f (patch)
treeb250e6157a857dbc6e0923677518ab3b6fe34f54 /drivers
parente561bc45920aade3f8a5aad9058a00e750af1345 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/firmware/Makefile2
-rw-r--r--drivers/firmware/google/Kconfig14
2 files changed, 15 insertions, 1 deletions
diff --git a/drivers/firmware/Makefile b/drivers/firmware/Makefile
index d7d600992d4a..47338c979126 100644
--- a/drivers/firmware/Makefile
+++ b/drivers/firmware/Makefile
@@ -14,4 +14,4 @@ obj-$(CONFIG_ISCSI_IBFT) += iscsi_ibft.o
14obj-$(CONFIG_FIRMWARE_MEMMAP) += memmap.o 14obj-$(CONFIG_FIRMWARE_MEMMAP) += memmap.o
15obj-$(CONFIG_SIGMA) += sigma.o 15obj-$(CONFIG_SIGMA) += sigma.o
16 16
17obj-y += google/ 17obj-$(CONFIG_GOOGLE_FIRMWARE) += google/
diff --git a/drivers/firmware/google/Kconfig b/drivers/firmware/google/Kconfig
index 640dc6bedd69..87096b6ca5c9 100644
--- a/drivers/firmware/google/Kconfig
+++ b/drivers/firmware/google/Kconfig
@@ -1,3 +1,15 @@
1config 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
10menu "Google Firmware Drivers"
11 depends on GOOGLE_FIRMWARE
12
1config GOOGLE_SMI 13config GOOGLE_SMI
2 tristate "SMI interface for Google platforms" 14 tristate "SMI interface for Google platforms"
3 depends on ACPI && DMI 15 depends on ACPI && DMI
@@ -15,3 +27,5 @@ config GOOGLE_MEMCONSOLE
15 This option enables the kernel to search for a firmware log in 27 This option enables the kernel to search for a firmware log in
16 the EBDA on Google servers. If found, this log is exported to 28 the EBDA on Google servers. If found, this log is exported to
17 userland in the file /sys/firmware/log. 29 userland in the file /sys/firmware/log.
30
31endmenu