Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/58522 )
Change subject: mb/google/dedede/var/kracko: Add Wifi SAR for kracko ......................................................................
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 --- M src/mainboard/google/dedede/Kconfig.name M src/mainboard/google/dedede/variants/kracko/Makefile.inc M src/mainboard/google/dedede/variants/kracko/variant.c 3 files changed, 10 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Kevin Chiu: Looks good to me, approved Karthik Ramasubramanian: Looks good to me, approved Henry Sun: Looks good to me, but someone else must approve Shou-Chieh Hsu: Looks good to me, but someone else must approve
diff --git a/src/mainboard/google/dedede/Kconfig.name b/src/mainboard/google/dedede/Kconfig.name index e0eb517..ea6f35c 100644 --- a/src/mainboard/google/dedede/Kconfig.name +++ b/src/mainboard/google/dedede/Kconfig.name @@ -114,6 +114,7 @@ select BOARD_GOOGLE_BASEBOARD_DEDEDE_CR50 select BASEBOARD_DEDEDE_LAPTOP select DRIVERS_GENERIC_MAX98357A + select GEO_SAR_ENABLE if CHROMEOS_WIFI_SAR
config BOARD_GOOGLE_BLIPPER bool "-> Blipper" diff --git a/src/mainboard/google/dedede/variants/kracko/Makefile.inc b/src/mainboard/google/dedede/variants/kracko/Makefile.inc index fd60a18..a722a06 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 22caa06..66d7b06 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) {