From 7a0eff6b8e423ab87403869cda92142baa3de869 Mon Sep 17 00:00:00 2001 From: Mark Hsieh Date: Mon, 8 Aug 2022 17:37:35 +0800 Subject: mb/google/nissa/var/joxer: Add WiFi SAR table Add WiFi SAR table for joxer. BUG=b:239788985 TEST=build FW and checked SAR table can load by WiFi driver. Signed-off-by: Mark Hsieh Change-Id: Ia8dddf454e441840233fa4405704ee1f0a8ed86c Reviewed-on: https://review.coreboot.org/c/coreboot/+/66522 Reviewed-by: Reka Norman Tested-by: build bot (Jenkins) --- src/mainboard/google/brya/Kconfig.name | 1 + src/mainboard/google/brya/variants/joxer/Makefile.inc | 1 + src/mainboard/google/brya/variants/joxer/variant.c | 6 ++++++ 3 files changed, 8 insertions(+) (limited to 'src') diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index efef78e229..3d63c49f47 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -256,6 +256,7 @@ config BOARD_GOOGLE_JOXER bool "-> Joxer" select ALDERLAKE_CONFIGURE_DESCRIPTOR select BOARD_GOOGLE_BASEBOARD_NISSA + select CHROMEOS_WIFI_SAR if CHROMEOS select DRIVERS_GENESYSLOGIC_GL9750 config BOARD_GOOGLE_PUJJO diff --git a/src/mainboard/google/brya/variants/joxer/Makefile.inc b/src/mainboard/google/brya/variants/joxer/Makefile.inc index ee9b555ab7..32e31738cf 100644 --- a/src/mainboard/google/brya/variants/joxer/Makefile.inc +++ b/src/mainboard/google/brya/variants/joxer/Makefile.inc @@ -5,3 +5,4 @@ bootblock-y += variant.c romstage-y += gpio.c ramstage-y += gpio.c +ramstage-y += variant.c diff --git a/src/mainboard/google/brya/variants/joxer/variant.c b/src/mainboard/google/brya/variants/joxer/variant.c index 702468280d..d51927c631 100644 --- a/src/mainboard/google/brya/variants/joxer/variant.c +++ b/src/mainboard/google/brya/variants/joxer/variant.c @@ -4,6 +4,12 @@ #include #include #include +#include + +const char *get_wifi_sar_cbfs_filename(void) +{ + return "wifi_sar_0.hex"; +} /* * TODO(b/229022567): This is a workaround which will be removed once we -- cgit v1.2.3