Attention is currently required from: Jianeng Ceng.
Hello Jianeng Ceng,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/79730?usp=email
to review the following change.
Change subject: TEST-NOLY:mb/google/brya/var/anraggar: add hook for WiFi SAR table ......................................................................
TEST-NOLY:mb/google/brya/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
Change-Id: Idb200699bb8c8581b9512ec8ec9442f65f8822b3 Signed-off-by: Jianeng Ceng cengjianeng@huaqin.corp-partner.google.com --- M src/mainboard/google/brya/Kconfig M src/mainboard/google/brya/variants/anraggar/Makefile.inc A src/mainboard/google/brya/variants/anraggar/variant.c 3 files changed, 11 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/79730/1
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig index fb62880..be4e694 100644 --- a/src/mainboard/google/brya/Kconfig +++ b/src/mainboard/google/brya/Kconfig @@ -508,6 +508,7 @@ select DRIVERS_INTEL_MIPI_CAMERA select HAVE_WWAN_POWER_SEQUENCE select DRIVERS_GFX_GENERIC + select CHROMEOS_WIFI_SAR if CHROMEOS
if BOARD_GOOGLE_BRYA_COMMON
diff --git a/src/mainboard/google/brya/variants/anraggar/Makefile.inc b/src/mainboard/google/brya/variants/anraggar/Makefile.inc index d38141c..491d3f7 100644 --- a/src/mainboard/google/brya/variants/anraggar/Makefile.inc +++ b/src/mainboard/google/brya/variants/anraggar/Makefile.inc @@ -4,3 +4,5 @@ romstage-y += gpio.c
ramstage-y += gpio.c + +ramstage-y += variant.c \ No newline at end of file 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 0000000..0d25324 --- /dev/null +++ b/src/mainboard/google/brya/variants/anraggar/variant.c @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <sar.h> + +const char *get_wifi_sar_cbfs_filename(void) +{ +return "wifi_sar_2.hex"; +}