Commit 329d58b8 authored by Darren Hart (VMware)'s avatar Darren Hart (VMware)

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: default avatarDarren Hart (VMware) <dvhart@infradead.org>
parent 25d47027
...@@ -115,9 +115,10 @@ config DELL_SMBIOS ...@@ -115,9 +115,10 @@ config DELL_SMBIOS
config DELL_SMBIOS_WMI config DELL_SMBIOS_WMI
bool "Dell SMBIOS driver WMI backend" bool "Dell SMBIOS driver WMI backend"
default y
depends on ACPI_WMI depends on ACPI_WMI
select DELL_WMI_DESCRIPTOR select DELL_WMI_DESCRIPTOR
select DELL_SMBIOS depends on DELL_SMBIOS
---help--- ---help---
This provides an implementation for the Dell SMBIOS calling interface This provides an implementation for the Dell SMBIOS calling interface
communicated over ACPI-WMI. communicated over ACPI-WMI.
...@@ -128,8 +129,9 @@ config DELL_SMBIOS_WMI ...@@ -128,8 +129,9 @@ config DELL_SMBIOS_WMI
config DELL_SMBIOS_SMM config DELL_SMBIOS_SMM
bool "Dell SMBIOS driver SMM backend" bool "Dell SMBIOS driver SMM backend"
default y
depends on DCDBAS depends on DCDBAS
select DELL_SMBIOS depends on DELL_SMBIOS
---help--- ---help---
This provides an implementation for the Dell SMBIOS calling interface This provides an implementation for the Dell SMBIOS calling interface
communicated over SMI/SMM. communicated over SMI/SMM.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment