From 9c1bf3c29aaefe4dfc1f3f402b22c91aa51afa4b Mon Sep 17 00:00:00 2001 From: cengjianeng Date: Mon, 18 Dec 2023 16:15:03 +0800 Subject: mb/google/nissa/var/anraggar: add hook for WiFi SAR table As a preparation for WiFi SAR table addition, adding hook for it. BRANCH=nissa BUG=b:315418153 TEST=emerge-nissa coreboot Cq-Depend: chrome-internal:6790137 Change-Id: Idb200699bb8c8581b9512ec8ec9442f65f8822b3 Signed-off-by: Jianeng Ceng Reviewed-on: https://review.coreboot.org/c/coreboot/+/79730 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/mainboard/google/brya/variants/anraggar/Makefile.inc | 2 ++ src/mainboard/google/brya/variants/anraggar/variant.c | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 src/mainboard/google/brya/variants/anraggar/variant.c (limited to 'src/mainboard/google/brya/variants/anraggar') diff --git a/src/mainboard/google/brya/variants/anraggar/Makefile.inc b/src/mainboard/google/brya/variants/anraggar/Makefile.inc index d38141ca24..f41cdfdb8a 100644 --- a/src/mainboard/google/brya/variants/anraggar/Makefile.inc +++ b/src/mainboard/google/brya/variants/anraggar/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/anraggar/variant.c b/src/mainboard/google/brya/variants/anraggar/variant.c new file mode 100644 index 0000000000..4f44c3831c --- /dev/null +++ b/src/mainboard/google/brya/variants/anraggar/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_2.hex"; +} -- cgit v1.2.3