diff options
author | Sheng-Liang Pan <sheng-liang.pan@quanta.corp-partner.google.com> | 2023-08-24 17:16:37 +0800 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-08-26 21:22:05 +0000 |
commit | a1459caa886704200cbf96428fe9e304903ad45c (patch) | |
tree | 8537f282e9ec133fa0b525661e8398c1547e77a1 | |
parent | d97bd1574baba47ddcd1c198316d40f1cf39f1b5 (diff) |
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>
-rw-r--r-- | src/mainboard/google/dedede/Kconfig.name | 1 | ||||
-rw-r--r-- | src/mainboard/google/dedede/variants/taranza/Makefile.inc | 2 | ||||
-rw-r--r-- | src/mainboard/google/dedede/variants/taranza/variant.c | 8 |
3 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/Kconfig.name b/src/mainboard/google/dedede/Kconfig.name index 10cf5e2805..f668fb1b6b 100644 --- a/src/mainboard/google/dedede/Kconfig.name +++ b/src/mainboard/google/dedede/Kconfig.name @@ -208,6 +208,7 @@ config BOARD_GOOGLE_TARANZA 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 eb2c9bc021..f6abb34693 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 0000000000..c0a66fa0b3 --- /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"; +} |