Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/80307?usp=email )
Change subject: drivers/wifi: Use depends instead of if in Kconfig ......................................................................
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 --- M src/drivers/wifi/generic/Kconfig 1 file changed, 1 insertion(+), 4 deletions(-)
Approvals: build bot (Jenkins): Verified Eric Lai: Looks good to me, approved Subrata Banik: Looks good to me, approved Martin L Roth: Looks good to me, approved
diff --git a/src/drivers/wifi/generic/Kconfig b/src/drivers/wifi/generic/Kconfig index 814059e..5efd471 100644 --- a/src/drivers/wifi/generic/Kconfig +++ b/src/drivers/wifi/generic/Kconfig @@ -23,11 +23,10 @@ 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 @@ help There can be up to 3 optional SAR table sets.
-endif # DRIVERS_WIFI_GENERIC - config USE_MTCL bool default n