summaryrefslogtreecommitdiffstats
path: root/src/drivers
diff options
context:
space:
mode:
authorDavid Ruth <druth@chromium.org>2024-02-02 16:04:25 +0000
committerSubrata Banik <subratabanik@google.com>2024-02-06 03:37:50 +0000
commitfe33b2dd86e41be96a1943e381cadf2b3a722356 (patch)
treeace34d24680c959cf654cd6c00222b7faf13d3d4 /src/drivers
parentea8330ed819c0d0b70ebfb0ab9eaf341fd683c11 (diff)
downloadcoreboot-fe33b2dd86e41be96a1943e381cadf2b3a722356.tar.gz
coreboot-fe33b2dd86e41be96a1943e381cadf2b3a722356.tar.bz2
coreboot-fe33b2dd86e41be96a1943e381cadf2b3a722356.zip
drivers/wifi: Use depends instead of if in Kconfig
Cleanup to make the file follow the same convention after USE_MTCL was added and the depends structure was requested instead of the if guards. Signed-off-by: David Ruth <druth@google.com> Change-Id: I3604b394f999b28de4723337b3b6b4e21139c83b Reviewed-on: https://review.coreboot.org/c/coreboot/+/80307 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/wifi/generic/Kconfig5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/drivers/wifi/generic/Kconfig b/src/drivers/wifi/generic/Kconfig
index 814059e6df63..5efd4717cf97 100644
--- a/src/drivers/wifi/generic/Kconfig
+++ b/src/drivers/wifi/generic/Kconfig
@@ -23,11 +23,10 @@ config DRIVERS_MTK_WIFI
When enabled, add identifiers in ACPI tables to make OS
drivers work with certain MediaTek PCI-e WiFi chipsets.
-if DRIVERS_WIFI_GENERIC
-
config USE_SAR
bool
default n
+ depends on DRIVERS_WIFI_GENERIC
help
Enable it when wifi driver uses SAR configuration feature.
@@ -58,8 +57,6 @@ config DSAR_SET_NUM
help
There can be up to 3 optional SAR table sets.
-endif # DRIVERS_WIFI_GENERIC
-
config USE_MTCL
bool
default n