Leo Chou has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/63684 )
Change subject: mb/google/brya/var/taniks: Add WiFi SAR table for taniks ......................................................................
mb/google/brya/var/taniks: Add WiFi SAR table for taniks
Add WiFi SAR table for taniks.
BUG=b:226690925 TEST=build FW and checked SAR table can load by WiFi driver.
Signed-off-by: leo.chou leo.chou@lcfc.corp-partner.google.com Change-Id: I7b52f71b1fe49c02beaa48410495b81661b58fac --- M src/mainboard/google/brya/Kconfig.name M src/mainboard/google/brya/variants/taniks/Makefile.inc A src/mainboard/google/brya/variants/taniks/variant.c 3 files changed, 11 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/63684/1
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index b79fce6..4ba22c2 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -157,6 +157,7 @@ select DRIVERS_GENESYSLOGIC_GL9750 select DRIVERS_GENESYSLOGIC_GL9763E select DRIVERS_GENESYSLOGIC_GL9763E_L1_MAX + select CHROMEOS_WIFI_SAR if CHROMEOS
config BOARD_GOOGLE_VELL bool "-> Vell" diff --git a/src/mainboard/google/brya/variants/taniks/Makefile.inc b/src/mainboard/google/brya/variants/taniks/Makefile.inc index 6947beb..3ee0dc9 100644 --- a/src/mainboard/google/brya/variants/taniks/Makefile.inc +++ b/src/mainboard/google/brya/variants/taniks/Makefile.inc @@ -5,3 +5,5 @@
ramstage-y += gpio.c ramstage-$(CONFIG_FW_CONFIG) += fw_config.c + +ramstage-$(CONFIG_FW_CONFIG) += variant.c diff --git a/src/mainboard/google/brya/variants/taniks/variant.c b/src/mainboard/google/brya/variants/taniks/variant.c new file mode 100644 index 0000000..6a79780 --- /dev/null +++ b/src/mainboard/google/brya/variants/taniks/variant.c @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <sar.h> + +const char *get_wifi_sar_cbfs_filename(void) +{ + return "wifi_sar_0.hex"; +}