summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMorris Hsu <morris-hsu@quanta.corp-partner.google.com>2024-03-01 18:11:33 +0800
committerSubrata Banik <subratabanik@google.com>2024-03-05 02:49:22 +0000
commit3266dcbff0df9d36c77d0a3ba9b96f104bd80ef5 (patch)
treead1d653b03d59971713b719fd221a103d1520f24 /src
parent8e365396d4274b8656fd5c3bd47e9e8953db7e59 (diff)
mb/google/brya/var/dochi: Add wifi sar table
Add wifi sar table for dochi BUG=b:326137130 BRANCH=firmware-brya-14505.B TEST=emerge-brya coreboot chromeos-bootimage Change-Id: Iaf90756eb318bef1ffcda9368a976c0ca209a100 Signed-off-by: Morris Hsu <morris-hsu@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80809 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Bob Moragues <moragues@google.com> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/Kconfig3
-rw-r--r--src/mainboard/google/brya/variants/dochi/variant.c8
2 files changed, 9 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index e14876c06d..b85aa5abad 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -195,8 +195,9 @@ config BOARD_GOOGLE_CROTA
config BOARD_GOOGLE_DOCHI
select BOARD_GOOGLE_BASEBOARD_BRYA
- select SOC_INTEL_RAPTORLAKE
+ select CHROMEOS_WIFI_SAR if CHROMEOS
select DRIVERS_INTEL_ISH
+ select SOC_INTEL_RAPTORLAKE
select USE_UNIFIED_AP_FIRMWARE_FOR_UFS_AND_NON_UFS
config BOARD_GOOGLE_FELWINTER
diff --git a/src/mainboard/google/brya/variants/dochi/variant.c b/src/mainboard/google/brya/variants/dochi/variant.c
index 4c24347153..aa4cf2620e 100644
--- a/src/mainboard/google/brya/variants/dochi/variant.c
+++ b/src/mainboard/google/brya/variants/dochi/variant.c
@@ -1,11 +1,17 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <baseboard/variants.h>
#include <chip.h>
#include <fw_config.h>
-#include <baseboard/variants.h>
+#include <sar.h>
void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config)
{
if (fw_config_probe(FW_CONFIG(FP_MCU, FP_ABSENT)))
config->serial_io_gspi_mode[PchSerialIoIndexGSPI1] = PchSerialIoDisabled;
}
+
+const char *get_wifi_sar_cbfs_filename(void)
+{
+ return "wifi_sar_0.hex";
+}