Kevin Chiu has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/44672 )
Change subject: drivers/wifi: Add CONFIG for WiFi SAR CBFS filename override ......................................................................
drivers/wifi: Add CONFIG for WiFi SAR CBFS filename override
Add CONFIG for variant to override WiFi SAR CBFS filename in sys-boot/coreboot/files/config.X
BUG=b:159304570 BRANCH=master TEST=1. cros-workon-zork start coreboot-private-files-zork 2. emerge-zork chromeos-config coreboot-private-files-zork \ coreboot chromeos-bootimage
Change-Id: Idf859c7bdeb1f41b5144663ba1762e560dcfc789 Signed-off-by: Kevin Chiu kevin.chiu@quantatw.com --- M src/drivers/wifi/generic/Kconfig M src/vendorcode/google/chromeos/sar.c 2 files changed, 5 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/44672/1
diff --git a/src/drivers/wifi/generic/Kconfig b/src/drivers/wifi/generic/Kconfig index 049a952..c138bda 100644 --- a/src/drivers/wifi/generic/Kconfig +++ b/src/drivers/wifi/generic/Kconfig @@ -47,6 +47,10 @@ depends on WIFI_SAR_CBFS default "src/mainboard/$(MAINBOARDDIR)/wifi_sar_defaults.hex"
+config WIFI_SAR_CBFS_FILENAME + string "The cbfs file name" + default "" + config DSAR_SET_NUM hex "Number of SAR sets when D-SAR is enabled" default 0x3 diff --git a/src/vendorcode/google/chromeos/sar.c b/src/vendorcode/google/chromeos/sar.c index b07d41d..a7263a9 100644 --- a/src/vendorcode/google/chromeos/sar.c +++ b/src/vendorcode/google/chromeos/sar.c @@ -113,5 +113,5 @@ __weak const char *get_wifi_sar_cbfs_filename(void) { - return NULL; + return CONFIG_WIFI_SAR_CBFS_FILENAME; }