summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDtrain Hsu <dtrain_hsu@compal.corp-partner.google.com>2023-05-08 17:22:05 +0800
committerLean Sheng Tan <sheng.tan@9elements.com>2023-05-14 12:51:25 +0000
commitb233bd70c2788cdf081598b28397c94f0a56b412 (patch)
treeff86cd001e4d7b77f0b47da86ee0a7bc985a160b
parentf5fe5878addf9bc8f2ea521ac27517c412b52d21 (diff)
downloadcoreboot-b233bd70c2788cdf081598b28397c94f0a56b412.tar.gz
mb/google/nissa/var/uldren: Add wifi sar table
Add wifi sar table for uldren BUG=b:279679700 BRANCH=firmware-nissa-15217.B TEST=emerge-nissa coreboot chromeos-bootimage Change-Id: I9e3d7a06beb673b204f2dfe8e7beb919730aa885 Signed-off-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75010 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Shou-Chieh Hsu <shouchieh@google.com> Reviewed-by: Derek Huang <derekhuang@google.com>
-rw-r--r--src/mainboard/google/brya/Kconfig.name1
-rw-r--r--src/mainboard/google/brya/variants/uldren/Makefile.inc1
-rw-r--r--src/mainboard/google/brya/variants/uldren/variant.c8
3 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name
index 57a41456d9..0e327610fc 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -365,6 +365,7 @@ config BOARD_GOOGLE_HADES
config BOARD_GOOGLE_ULDREN
bool "-> Uldren"
select BOARD_GOOGLE_BASEBOARD_NISSA
+ select CHROMEOS_WIFI_SAR if CHROMEOS
select DRIVERS_I2C_CS42L42
select HAVE_WWAN_POWER_SEQUENCE
diff --git a/src/mainboard/google/brya/variants/uldren/Makefile.inc b/src/mainboard/google/brya/variants/uldren/Makefile.inc
index 6f46b7adc7..75aedc0f67 100644
--- a/src/mainboard/google/brya/variants/uldren/Makefile.inc
+++ b/src/mainboard/google/brya/variants/uldren/Makefile.inc
@@ -4,3 +4,4 @@ bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-y += gpio.c
+ramstage-$(CONFIG_FW_CONFIG) += variant.c
diff --git a/src/mainboard/google/brya/variants/uldren/variant.c b/src/mainboard/google/brya/variants/uldren/variant.c
new file mode 100644
index 0000000000..6a79780f6e
--- /dev/null
+++ b/src/mainboard/google/brya/variants/uldren/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";
+}