From a08d5a8086245da92f5ed42fa71ccdb0609a85ce Mon Sep 17 00:00:00 2001 From: David Wu Date: Fri, 15 Jul 2022 10:24:19 +0800 Subject: [PATCH] mb/google/brya/var/osiris: Add wifi sar table 1. Add wifi sar table for osiris 2. Set EC_GOOGLE_CHROMEEC_INCLUDE_SSFC_IN_FW_CONFIG BUG=b:234951991 TEST=build FW and checked SAR table can load by WiFi driver. Cq-Depend: chrome-internal:4871098 Signed-off-by: David Wu Change-Id: I301dce3229a24dd72b12b84d9eb7606abe10cbba Reviewed-on: https://review.coreboot.org/c/coreboot/+/65869 Tested-by: build bot (Jenkins) Reviewed-by: Ren Kuo --- src/mainboard/google/brya/Kconfig.name | 2 ++ src/mainboard/google/brya/variants/osiris/variant.c | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index 7384a95f7d..1ab85252df 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -228,6 +228,8 @@ config BOARD_GOOGLE_CRAASK config BOARD_GOOGLE_OSIRIS bool "-> Osiris" select BOARD_GOOGLE_BASEBOARD_BRYA + select CHROMEOS_WIFI_SAR if CHROMEOS + select EC_GOOGLE_CHROMEEC_INCLUDE_SSFC_IN_FW_CONFIG select RT8168_GEN_ACPI_POWER_RESOURCE select RT8168_GET_MAC_FROM_VPD select RT8168_SET_LED_MODE diff --git a/src/mainboard/google/brya/variants/osiris/variant.c b/src/mainboard/google/brya/variants/osiris/variant.c index e8f7607df0..422a87697d 100644 --- a/src/mainboard/google/brya/variants/osiris/variant.c +++ b/src/mainboard/google/brya/variants/osiris/variant.c @@ -3,6 +3,12 @@ #include #include #include +#include + +const char *get_wifi_sar_cbfs_filename(void) +{ + return "wifi_sar_0.hex"; +} void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config) {