From fe33b2dd86e41be96a1943e381cadf2b3a722356 Mon Sep 17 00:00:00 2001 From: David Ruth Date: Fri, 2 Feb 2024 16:04:25 +0000 Subject: 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 Change-Id: I3604b394f999b28de4723337b3b6b4e21139c83b Reviewed-on: https://review.coreboot.org/c/coreboot/+/80307 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai Reviewed-by: Subrata Banik Reviewed-by: Martin L Roth --- src/drivers/wifi/generic/Kconfig | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/drivers') diff --git a/src/drivers/wifi/generic/Kconfig b/src/drivers/wifi/generic/Kconfig index 814059e6df..5efd4717cf 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 -- cgit v1.2.3