Martin L Roth has submitted this change. ( https://review.coreboot.org/c/coreboot/+/77399?usp=email )
Change subject: mb/google/dedede/var/taranza: Add Wifi SAR for taranza ......................................................................
mb/google/dedede/var/taranza: Add Wifi SAR for taranza
BUG=b:297276380 BRANCH=dedede TEST=enable CHROMEOS_WIFI_SAR in config of coreboot, emerge-dedede coreboot-private-files-baseboard-dedede coreboot chromeos-bootimage
Cq-Depend: chrome-internal:6373154
Signed-off-by: Sheng-Liang Pan sheng-liang.pan@quanta.corp-partner.google.com Change-Id: If21c7a7d329b0b1cc2c73dadb0c5b8a5b8ab27e2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77399 Reviewed-by: David Wu david_wu@quanta.corp-partner.google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Tyler Wang tyler.wang@quanta.corp-partner.google.com --- M src/mainboard/google/dedede/Kconfig.name M src/mainboard/google/dedede/variants/taranza/Makefile.inc A src/mainboard/google/dedede/variants/taranza/variant.c 3 files changed, 11 insertions(+), 0 deletions(-)
Approvals: Sheng-Liang Pan: Looks good to me, but someone else must approve Tyler Wang: Looks good to me, but someone else must approve build bot (Jenkins): Verified David Wu: Looks good to me, approved
diff --git a/src/mainboard/google/dedede/Kconfig.name b/src/mainboard/google/dedede/Kconfig.name index 10cf5e2..f668fb1 100644 --- a/src/mainboard/google/dedede/Kconfig.name +++ b/src/mainboard/google/dedede/Kconfig.name @@ -208,6 +208,7 @@ select RT8168_GEN_ACPI_POWER_RESOURCE select RT8168_GET_MAC_FROM_VPD select RT8168_SET_LED_MODE + select GEO_SAR_ENABLE if CHROMEOS_WIFI_SAR
config BOARD_GOOGLE_BOXY bool "-> Boxy" diff --git a/src/mainboard/google/dedede/variants/taranza/Makefile.inc b/src/mainboard/google/dedede/variants/taranza/Makefile.inc index eb2c9bc..f6abb34 100644 --- a/src/mainboard/google/dedede/variants/taranza/Makefile.inc +++ b/src/mainboard/google/dedede/variants/taranza/Makefile.inc @@ -1,3 +1,5 @@ ## SPDX-License-Identifier: GPL-2.0-or-later
ramstage-y += gpio.c + +ramstage-y += variant.c diff --git a/src/mainboard/google/dedede/variants/taranza/variant.c b/src/mainboard/google/dedede/variants/taranza/variant.c new file mode 100644 index 0000000..c0a66fa --- /dev/null +++ b/src/mainboard/google/dedede/variants/taranza/variant.c @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include <sar.h> + +const char *get_wifi_sar_cbfs_filename(void) +{ + return "wifi_sar-taranza.hex"; +}