Subrata Banik submitted this change.

View Change

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
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(-)

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

To view, visit change 80307. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I3604b394f999b28de4723337b3b6b4e21139c83b
Gerrit-Change-Number: 80307
Gerrit-PatchSet: 3
Gerrit-Owner: David Ruth <druth@chromium.org>
Gerrit-Reviewer: David Ruth <druth@google.com>
Gerrit-Reviewer: Eric Lai <ericllai@google.com>
Gerrit-Reviewer: Martin L Roth <gaumless@gmail.com>
Gerrit-Reviewer: Subrata Banik <subratabanik@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Nico Huber <nico.h@gmx.de>
Gerrit-MessageType: merged