summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants/kracko
diff options
context:
space:
mode:
authorRobertChen <robert.chen@quanta.corp-partner.google.com>2021-10-21 19:09:49 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-11-01 10:29:23 +0000
commitf6c29165b25e4ae8b7013b107f90ba157bff7b87 (patch)
treedcbcf0a0feb21b3a85a42c05ef2aa9a3c9ddc918 /src/mainboard/google/dedede/variants/kracko
parent8bea7027cd5a27515522acaf7d5a189dbb8aa3cb (diff)
mb/google/dedede/var/kracko: Add Wifi SAR for kracko
Add wifi sar for kracko BUG=b:194460420 TEST=emerge-dedede coreboot-private-files-baseboard-dedede coreboot chromeos-bootimage Change-Id: I83bca544c9f71142f95ea1137f732c182b3f29b7 Signed-off-by: Robert Chen <robert.chen@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58522 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Henry Sun <henrysun@google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Shou-Chieh Hsu <shouchieh@google.com> Reviewed-by: Kevin Chiu <kevin.chiu.17802@gmail.com>
Diffstat (limited to 'src/mainboard/google/dedede/variants/kracko')
-rw-r--r--src/mainboard/google/dedede/variants/kracko/Makefile.inc2
-rw-r--r--src/mainboard/google/dedede/variants/kracko/variant.c7
2 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/kracko/Makefile.inc b/src/mainboard/google/dedede/variants/kracko/Makefile.inc
index fd60a18b69..a722a06dc9 100644
--- a/src/mainboard/google/dedede/variants/kracko/Makefile.inc
+++ b/src/mainboard/google/dedede/variants/kracko/Makefile.inc
@@ -1,5 +1,7 @@
## SPDX-License-Identifier: GPL-2.0-or-later
+ramstage-y += variant.c
+
ramstage-y += gpio.c
smm-y += variant.c
diff --git a/src/mainboard/google/dedede/variants/kracko/variant.c b/src/mainboard/google/dedede/variants/kracko/variant.c
index 22caa069d3..66d7b06889 100644
--- a/src/mainboard/google/dedede/variants/kracko/variant.c
+++ b/src/mainboard/google/dedede/variants/kracko/variant.c
@@ -4,6 +4,13 @@
#include <baseboard/variants.h>
#include <delay.h>
#include <gpio.h>
+#include <sar.h>
+
+const char *get_wifi_sar_cbfs_filename(void)
+{
+ return "wifi_sar-kracko.hex";
+}
+
static void power_off_lte_module(void)
{