From 1cd409f3a88053ae84c3e8a67af470890224f6dd Mon Sep 17 00:00:00 2001 From: Robert Chen Date: Thu, 8 Dec 2022 04:11:26 -0500 Subject: mb/google/brya/var/lisbon: Add Wifi SAR for lisbon Add wifi sar for lisbon. BUG=b:260938760 BRANCH=firmware-brya-14505.B TEST=emerge-brask coreboot-private-files-baseboard-brya coreboot chromeos-bootimage Change-Id: Ia347c4cf56bec971700bb53a5804e36e0bad82fb Signed-off-by: Robert Chen Reviewed-on: https://review.coreboot.org/c/coreboot/+/70483 Reviewed-by: Kevin Chiu Tested-by: build bot (Jenkins) --- src/mainboard/google/brya/Kconfig.name | 1 + src/mainboard/google/brya/variants/lisbon/Makefile.inc | 2 ++ src/mainboard/google/brya/variants/lisbon/variant.c | 8 ++++++++ 3 files changed, 11 insertions(+) create mode 100644 src/mainboard/google/brya/variants/lisbon/variant.c (limited to 'src') diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index 8d6362dd2c..ecca6cc7a7 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -285,6 +285,7 @@ config BOARD_GOOGLE_YAVIKS config BOARD_GOOGLE_LISBON bool "-> Lisbon" select BOARD_GOOGLE_BASEBOARD_BRASK + select CHROMEOS_WIFI_SAR if CHROMEOS select DRIVERS_GENESYSLOGIC_GL9750 select DRIVERS_GENESYSLOGIC_GL9763E diff --git a/src/mainboard/google/brya/variants/lisbon/Makefile.inc b/src/mainboard/google/brya/variants/lisbon/Makefile.inc index d38141ca24..f41cdfdb8a 100644 --- a/src/mainboard/google/brya/variants/lisbon/Makefile.inc +++ b/src/mainboard/google/brya/variants/lisbon/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/lisbon/variant.c b/src/mainboard/google/brya/variants/lisbon/variant.c new file mode 100644 index 0000000000..76f0f524a8 --- /dev/null +++ b/src/mainboard/google/brya/variants/lisbon/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