summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants
diff options
context:
space:
mode:
authorMac Chiang <mac.chiang@intel.com>2021-10-21 12:19:01 +0800
committerTim Wawrzynczak <twawrzynczak@chromium.org>2021-10-25 14:23:20 +0000
commit299649a31c7bccf5b7102b37e8f8bf0f151280f7 (patch)
tree22952098d996368fad8c6cb67e90feeaf09fd032 /src/mainboard/google/brya/variants
parente1f392ea34404544b0a6f75d14d000cd74efc53d (diff)
mb/google/brya/variants/gimble: Enable Bluetooth offload support
Enable CnviBtAudioOffload UPD BUG=b:199180746 TEST=emerge-byra coreboot Signed-off-by: Mac Chiang <mac.chiang@intel.com> Change-Id: Ic507b1d0f7c2f38de8d24247cd677b897a7463f1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58514 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/google/brya/variants')
-rw-r--r--src/mainboard/google/brya/variants/gimble/variant.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/gimble/variant.c b/src/mainboard/google/brya/variants/gimble/variant.c
index 6a79780f6e..96ccf88ae7 100644
--- a/src/mainboard/google/brya/variants/gimble/variant.c
+++ b/src/mainboard/google/brya/variants/gimble/variant.c
@@ -1,8 +1,17 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <sar.h>
+#include <chip.h>
+#include <fw_config.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->CnviBtAudioOffload = fw_config_probe(FW_CONFIG(AUDIO,
+ MAX98390_ALC5682I_I2S_SSP1));
+}