summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRen Kuo <ren.kuo@quanta.corp-partner.google.com>2022-05-20 14:52:35 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-05-24 12:59:18 +0000
commit26bba6f29b4c1b89a667eee0e0938de1369b378a (patch)
treebace96a95a9a1487d89b186678615aa9eeb2127d /src
parent540473a4912216e0672512ec9e5186455a987f2b (diff)
mb/google/brya/var/volmar: Add wifi sar table
1. Add wifi sar table for volmar 2. Set EC_GOOGLE_CHROMEEC_INCLUDE_SSFC_IN_FW_CONFIG BUG=b:233319626 TEST=emerge-brya coreboot-private-files-baseboard-brya coreboot chromeos-bootimage Signed-off-by: Ren Kuo <ren.kuo@quanta.corp-partner.google.com> Change-Id: I09069bbc3a41b66ec9a88cfede46acc067209b01 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64548 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: David Wu <david_wu@quanta.corp-partner.google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/Kconfig.name2
-rw-r--r--src/mainboard/google/brya/variants/volmar/variant.c6
2 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name
index 5ce430f44e..856140810d 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -174,6 +174,8 @@ config BOARD_GOOGLE_VELL
config BOARD_GOOGLE_VOLMAR
bool "-> Volmar"
select BOARD_GOOGLE_BASEBOARD_BRYA
+ select CHROMEOS_WIFI_SAR if CHROMEOS
+ select EC_GOOGLE_CHROMEEC_INCLUDE_SSFC_IN_FW_CONFIG
select DRIVERS_I2C_MAX98373
select DRIVERS_I2C_NAU8825
diff --git a/src/mainboard/google/brya/variants/volmar/variant.c b/src/mainboard/google/brya/variants/volmar/variant.c
index e21ab5a91c..86c65c7ea7 100644
--- a/src/mainboard/google/brya/variants/volmar/variant.c
+++ b/src/mainboard/google/brya/variants/volmar/variant.c
@@ -2,8 +2,14 @@
#include <chip.h>
#include <fw_config.h>
+#include <sar.h>
#include <baseboard/variants.h>
+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)
{
config->cnvi_bt_audio_offload = fw_config_probe(FW_CONFIG(AUDIO,