From f0227ee2a88aafc460d0137f9d2e61bd813aea0e Mon Sep 17 00:00:00 2001 From: Wisley Chen Date: Thu, 16 Sep 2021 17:20:40 +0600 Subject: mb/google/brya/var/redrix: Get wifi sar name Add get_wifi_sar_cbfs_file_name() to return the wifi SAR file name BUG=None TEST=FW_NAME=redrix emerge-brya coreboot Change-Id: I87e7a30619fd93d0eae692c4c540c29850ff6721 Signed-off-by: Wisley Chen Reviewed-on: https://review.coreboot.org/c/coreboot/+/57710 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/mainboard/google/brya/variants/redrix/Makefile.inc | 2 ++ src/mainboard/google/brya/variants/redrix/variant.c | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 src/mainboard/google/brya/variants/redrix/variant.c (limited to 'src') diff --git a/src/mainboard/google/brya/variants/redrix/Makefile.inc b/src/mainboard/google/brya/variants/redrix/Makefile.inc index f2a624c0e8..acf9bada81 100644 --- a/src/mainboard/google/brya/variants/redrix/Makefile.inc +++ b/src/mainboard/google/brya/variants/redrix/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/redrix/variant.c b/src/mainboard/google/brya/variants/redrix/variant.c new file mode 100644 index 0000000000..6a79780f6e --- /dev/null +++ b/src/mainboard/google/brya/variants/redrix/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