aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Hart (VMware) <dvhart@infradead.org>2018-03-02 20:40:32 -0500
committerDarren Hart (VMware) <dvhart@infradead.org>2018-03-09 12:35:44 -0500
commit329d58b890be8ac9f2c1a72324fd2bed07dd6bce (patch)
tree0b9f9b9aa098e25398c3d633c372a600d62632d4
parent25d47027e1003546bfd8964b4423cb39bc2d53e9 (diff)
platform/x86: Allow for SMBIOS backend defaults
Avoid accidental configurations by setting default y for DELL_SMBIOS backends. Avoid this impacting the default build size, by making them dependent on DELL_SMBIOS, so they only appear when DELL_SMBIOS is manually selected, or by DELL_LAPTOP or DELL_WMI. While DELL_SMBIOS does have a prompt, it does not have any dependencies. Keeping DELL_SMBIOS visible, despite being "select"ed by DELL_LAPTOP and DELL_WMI, is a deliberate choice to provide context for the WMI and SMM backends, which would otherwise appear to float without context within the menu. Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
-rw-r--r--drivers/platform/x86/Kconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 3abd0de7d406..a87588a7b070 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -115,9 +115,10 @@ config DELL_SMBIOS
115 115
116config DELL_SMBIOS_WMI 116config DELL_SMBIOS_WMI
117 bool "Dell SMBIOS driver WMI backend" 117 bool "Dell SMBIOS driver WMI backend"
118 default y
118 depends on ACPI_WMI 119 depends on ACPI_WMI
119 select DELL_WMI_DESCRIPTOR 120 select DELL_WMI_DESCRIPTOR
120 select DELL_SMBIOS 121 depends on DELL_SMBIOS
121 ---help--- 122 ---help---
122 This provides an implementation for the Dell SMBIOS calling interface 123 This provides an implementation for the Dell SMBIOS calling interface
123 communicated over ACPI-WMI. 124 communicated over ACPI-WMI.
@@ -128,8 +129,9 @@ config DELL_SMBIOS_WMI
128 129
129config DELL_SMBIOS_SMM 130config DELL_SMBIOS_SMM
130 bool "Dell SMBIOS driver SMM backend" 131 bool "Dell SMBIOS driver SMM backend"
132 default y
131 depends on DCDBAS 133 depends on DCDBAS
132 select DELL_SMBIOS 134 depends on DELL_SMBIOS
133 ---help--- 135 ---help---
134 This provides an implementation for the Dell SMBIOS calling interface 136 This provides an implementation for the Dell SMBIOS calling interface
135 communicated over SMI/SMM. 137 communicated over SMI/SMM.