Skip to content

Commit 329d58b

Browse files
committed
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) <[email protected]>
1 parent 25d4702 commit 329d58b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

drivers/platform/x86/Kconfig

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,10 @@ config DELL_SMBIOS
115115

116116
config DELL_SMBIOS_WMI
117117
bool "Dell SMBIOS driver WMI backend"
118+
default y
118119
depends on ACPI_WMI
119120
select DELL_WMI_DESCRIPTOR
120-
select DELL_SMBIOS
121+
depends on DELL_SMBIOS
121122
---help---
122123
This provides an implementation for the Dell SMBIOS calling interface
123124
communicated over ACPI-WMI.
@@ -128,8 +129,9 @@ config DELL_SMBIOS_WMI
128129

129130
config DELL_SMBIOS_SMM
130131
bool "Dell SMBIOS driver SMM backend"
132+
default y
131133
depends on DCDBAS
132-
select DELL_SMBIOS
134+
depends on DELL_SMBIOS
133135
---help---
134136
This provides an implementation for the Dell SMBIOS calling interface
135137
communicated over SMI/SMM.

0 commit comments

Comments
 (0)