From ebda9fc16b2818baffb39700219c453e47bd5eaf Mon Sep 17 00:00:00 2001 From: Shon Date: Thu, 12 Sep 2024 19:14:07 +0800 Subject: mb/google/brya/var/bujia: Add Wifi SAR for bujia Add wifi sar for bujia. BUG=b:345364452 BRANCH=firmware-brya-14505.B TEST=emerge-brask coreboot-private-files-baseboard-brya coreboot chromeos-bootimage Change-Id: I5a67f3723a9dc33793a5cd95f9a3a2596c3c1fc6 Signed-off-by: Shon Wang Reviewed-on: https://review.coreboot.org/c/coreboot/+/84501 Reviewed-by: Jayvik Desai Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai Reviewed-by: Derek Huang --- src/mainboard/google/brya/Kconfig | 1 + src/mainboard/google/brya/variants/bujia/Makefile.mk | 1 + src/mainboard/google/brya/variants/bujia/variant.c | 8 ++++++++ 3 files changed, 10 insertions(+) create mode 100644 src/mainboard/google/brya/variants/bujia/variant.c (limited to 'src') diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig index 5f1e6b9b86..4f49df2573 100644 --- a/src/mainboard/google/brya/Kconfig +++ b/src/mainboard/google/brya/Kconfig @@ -187,6 +187,7 @@ config BOARD_GOOGLE_BRYA0 config BOARD_GOOGLE_BUJIA select BOARD_GOOGLE_BASEBOARD_BRASK + select CHROMEOS_WIFI_SAR if CHROMEOS select INTEL_GMA_HAVE_VBT select SOC_INTEL_RAPTORLAKE diff --git a/src/mainboard/google/brya/variants/bujia/Makefile.mk b/src/mainboard/google/brya/variants/bujia/Makefile.mk index bc39984d6c..175d5bbce2 100644 --- a/src/mainboard/google/brya/variants/bujia/Makefile.mk +++ b/src/mainboard/google/brya/variants/bujia/Makefile.mk @@ -5,3 +5,4 @@ romstage-y += gpio.c ramstage-y += gpio.c ramstage-y += ramstage.c +ramstage-y += variant.c diff --git a/src/mainboard/google/brya/variants/bujia/variant.c b/src/mainboard/google/brya/variants/bujia/variant.c new file mode 100644 index 0000000000..76f0f524a8 --- /dev/null +++ b/src/mainboard/google/brya/variants/bujia/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