From cbeeec123c58fcbe33c954e803a06a2aae6c1533 Mon Sep 17 00:00:00 2001 From: Mark Hsieh Date: Mon, 13 Sep 2021 20:17:19 +0800 Subject: brya/gimble: add `get_wifi_sar_cbfs_filename()` in variant.c gimble only uses one WiFi SAR table, contained in a file named wifi_sar_0.hex BUG=b:189068477 TEST=USE="project_gimble emerge-brya coreboot" and verify it builds without error. Signed-off-by: Mark Hsieh Change-Id: Ied030b79183cc6f962674260e7a82a7261b317ca Reviewed-on: https://review.coreboot.org/c/coreboot/+/57616 Reviewed-by: Tim Wawrzynczak Tested-by: build bot (Jenkins) --- src/mainboard/google/brya/variants/gimble/Makefile.inc | 2 ++ src/mainboard/google/brya/variants/gimble/variant.c | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 src/mainboard/google/brya/variants/gimble/variant.c (limited to 'src') diff --git a/src/mainboard/google/brya/variants/gimble/Makefile.inc b/src/mainboard/google/brya/variants/gimble/Makefile.inc index f2a624c0e8..acf9bada81 100644 --- a/src/mainboard/google/brya/variants/gimble/Makefile.inc +++ b/src/mainboard/google/brya/variants/gimble/Makefile.inc @@ -4,3 +4,5 @@ bootblock-y += gpio.c ramstage-y += gpio.c ramstage-$(CONFIG_FW_CONFIG) += fw_config.c + +ramstage-y += variant.c diff --git a/src/mainboard/google/brya/variants/gimble/variant.c b/src/mainboard/google/brya/variants/gimble/variant.c new file mode 100644 index 0000000000..6a79780f6e --- /dev/null +++ b/src/mainboard/google/brya/variants/gimble/variant.c @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include + +const char *get_wifi_sar_cbfs_filename(void) +{ + return "wifi_sar_0.hex"; +} -- cgit v1.2.3