From 6c4135e636afd0c5dc21f6ef185aba02e918cf30 Mon Sep 17 00:00:00 2001 From: Robert Chen Date: Wed, 9 Feb 2022 17:20:32 +0800 Subject: mb/google/brya/var/vell: Add Wifi SAR for vell Add wifi sar for vell BUG=b:218992598 TEST=emerge-brya coreboot-private-files-baseboard-brya coreboot chromeos-bootimage Change-Id: I74fddd1dbcb7019fd5fe394da291f125f0d4960f Signed-off-by: Robert Chen Reviewed-on: https://review.coreboot.org/c/coreboot/+/61761 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/mainboard/google/brya/Kconfig.name | 1 + src/mainboard/google/brya/variants/vell/Makefile.inc | 1 + src/mainboard/google/brya/variants/vell/variant.c | 8 ++++++++ 3 files changed, 10 insertions(+) create mode 100644 src/mainboard/google/brya/variants/vell/variant.c diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index f6fb23af70..7740bbe0d4 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -160,6 +160,7 @@ config BOARD_GOOGLE_VELL select DRIVERS_GFX_GENERIC select DRIVERS_INTEL_MIPI_CAMERA select SOC_INTEL_COMMON_BLOCK_IPU + select CHROMEOS_WIFI_SAR if CHROMEOS config BOARD_GOOGLE_VOLMAR bool "-> Volmar" diff --git a/src/mainboard/google/brya/variants/vell/Makefile.inc b/src/mainboard/google/brya/variants/vell/Makefile.inc index 20c6c3c22f..7fb0167253 100644 --- a/src/mainboard/google/brya/variants/vell/Makefile.inc +++ b/src/mainboard/google/brya/variants/vell/Makefile.inc @@ -3,3 +3,4 @@ bootblock-y += gpio.c romstage-y += memory.c romstage-y += gpio.c ramstage-y += gpio.c +ramstage-y += variant.c diff --git a/src/mainboard/google/brya/variants/vell/variant.c b/src/mainboard/google/brya/variants/vell/variant.c new file mode 100644 index 0000000000..76f0f524a8 --- /dev/null +++ b/src/mainboard/google/brya/variants/vell/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