31f6320afe
Now that SAR support in VPD is deprecated in coreboot, there is no need for a separate Kconfig `WIFI_SAR_CBFS` as the SAR table is only supported as a CBFS file. This change drops the config `WIFI_SAR_CBFS` from drivers/wifi/generic/Kconfig and its selection in mb/google/.../Kconfig. wifi_sar_defaults.hex is added to CBFS only if CONFIG_WIFI_SAR_CBFS_FILEPATH is not empty because current mainboards do not provide a default SAR file in coreboot. Thus, CONFIG_WIFI_SAR_CBFS_FILEPATH is updated to have a default value of "". BUG=b:173465272 Cq-Depend: chromium:2757781 Change-Id: I0bb8f6e2511596e4503fe4d8c34439228ceaa3c7 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51484 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
52 lines
1 KiB
Text
52 lines
1 KiB
Text
config DRIVERS_WIFI_GENERIC
|
|
bool
|
|
default n
|
|
help
|
|
When enabled, add identifiers in ACPI tables that are common
|
|
to WiFi chipsets from multiple vendors.
|
|
|
|
config DRIVERS_INTEL_WIFI
|
|
bool "Support Intel PCI-e WiFi adapters"
|
|
depends on PCI
|
|
default y if PCIEXP_PLUGIN_SUPPORT
|
|
select DRIVERS_WIFI_GENERIC
|
|
help
|
|
When enabled, add identifiers in ACPI and SMBIOS tables to
|
|
make OS drivers work with certain Intel PCI-e WiFi chipsets.
|
|
|
|
if DRIVERS_WIFI_GENERIC
|
|
|
|
config USE_SAR
|
|
bool
|
|
default n
|
|
help
|
|
Enable it when wifi driver uses SAR configuration feature.
|
|
|
|
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_FILEPATH
|
|
string "The cbfs file which has WIFI SAR defaults"
|
|
depends on USE_SAR
|
|
default ""
|
|
|
|
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_WIFI_GENERIC
|