From b9a59f74f0bfd4424f23d1bffde6a0dcf160641a Mon Sep 17 00:00:00 2001 From: Robert Chen Date: Fri, 9 Dec 2022 03:40:27 -0500 Subject: mb/google/brya/var/gladios: Add Wifi SAR for gladios Add wifi sar for gladios. BUG=b:260950906 BRANCH=firmware-brya-14505.B TEST=emerge-brask coreboot-private-files-baseboard-brya coreboot chromeos-bootimage Change-Id: I4cd015f17c4ddd28414f51a873ae4afc37863708 Signed-off-by: Robert Chen Reviewed-on: https://review.coreboot.org/c/coreboot/+/70605 Reviewed-by: Kevin Chiu Tested-by: build bot (Jenkins) --- src/mainboard/google/brya/Kconfig.name | 1 + src/mainboard/google/brya/variants/gladios/Makefile.inc | 2 ++ src/mainboard/google/brya/variants/gladios/variant.c | 8 ++++++++ 3 files changed, 11 insertions(+) create mode 100644 src/mainboard/google/brya/variants/gladios/variant.c diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index e141933091..8d6362dd2c 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -300,6 +300,7 @@ config BOARD_GOOGLE_ZYDRON config BOARD_GOOGLE_GLADIOS bool "-> Gladios" select BOARD_GOOGLE_BASEBOARD_BRASK + select CHROMEOS_WIFI_SAR if CHROMEOS select SOC_INTEL_RAPTORLAKE select DRIVERS_GENESYSLOGIC_GL9763E select DRIVERS_GENESYSLOGIC_GL9750 diff --git a/src/mainboard/google/brya/variants/gladios/Makefile.inc b/src/mainboard/google/brya/variants/gladios/Makefile.inc index d38141ca24..f41cdfdb8a 100644 --- a/src/mainboard/google/brya/variants/gladios/Makefile.inc +++ b/src/mainboard/google/brya/variants/gladios/Makefile.inc @@ -4,3 +4,5 @@ bootblock-y += gpio.c romstage-y += gpio.c ramstage-y += gpio.c + +ramstage-y += variant.c diff --git a/src/mainboard/google/brya/variants/gladios/variant.c b/src/mainboard/google/brya/variants/gladios/variant.c new file mode 100644 index 0000000000..76f0f524a8 --- /dev/null +++ b/src/mainboard/google/brya/variants/gladios/variant.c @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include + +const char *get_wifi_sar_cbfs_filename(void) +{ + return "wifi_sar_0.hex"; +} -- cgit v1.2.3