aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/wifi/Kconfig
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2020-07-23 00:25:25 -0600
committerPatrick Georgi <pgeorgi@google.com>2020-07-28 16:07:47 +0000
commitafeb7b3f6864f74bbcf22c8744998e55db219be2 (patch)
treea6b50fad0064ccccf26691e3b947cd86cbd7a812 /src/drivers/wifi/Kconfig
parentff7b9970f422735c9289768b0572b6ee49f68dfb (diff)
drivers/wifi: Adapt generic wifi driver into a chip driver
Re-organize the existing generic wifi driver into a generic wifi chip driver. This allows generic wifi chip information to be added to the devicetree. BUG=None TEST=./util/abuild/abuild Change-Id: I63f957a008ecf4a6a810c2a135ed62ea81a79fe0 Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43768 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/wifi/Kconfig')
-rw-r--r--src/drivers/wifi/Kconfig57
1 files changed, 0 insertions, 57 deletions
diff --git a/src/drivers/wifi/Kconfig b/src/drivers/wifi/Kconfig
deleted file mode 100644
index 11ac7c1464..0000000000
--- a/src/drivers/wifi/Kconfig
+++ /dev/null
@@ -1,57 +0,0 @@
-config DRIVERS_GENERIC_WIFI
- bool
- default n
- depends on HAVE_ACPI_TABLES
- help
- When enabled, add identifiers in ACPI tables that are common
- to WiFi chipsets from multiple vendors.
-
-if DRIVERS_GENERIC_WIFI
-
-config USE_SAR
- bool
- default n
- help
- Enable it when wifi driver uses SAR configuration feature.
- VPD entry "wifi_sar" is read to get SAR settings, if its
- not found driver may look into CBFS for default settigs.
- WIFI_SAR_CBFS is option to enable CBFS lookup.
-
-config SAR_ENABLE
- bool
- default n
- depends on USE_SAR
-
-config DSAR_ENABLE
- bool
- default n
- depends on USE_SAR
-
-config GEO_SAR_ENABLE
- bool
- default n
- depends on USE_SAR
-
-config WIFI_SAR_CBFS
- bool "Enable SAR table addition to CBFS"
- default n
- depends on USE_SAR
- help
- wifi driver would look for "wifi_sar" vpd key and load SAR settings from
- it, if the vpd key is not found then the driver tries to look for sar
- settings from CBFS with file name wifi_sar_defaults.hex.
- So OEM/ODM can override wifi sar with VPD.
-
-config WIFI_SAR_CBFS_FILEPATH
- string "The cbfs file which has WIFI SAR defaults"
- depends on WIFI_SAR_CBFS
- default "src/mainboard/\$(MAINBOARDDIR)/wifi_sar_defaults.hex"
-
-config DSAR_SET_NUM
- hex "Number of SAR sets when D-SAR is enabled"
- default 0x3
- depends on USE_SAR
- help
- There can be up to 3 optional SAR table sets.
-
-endif # DRIVERS_GENERIC_WIFI