summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants/aurash/variant.c
diff options
context:
space:
mode:
authorZoey Wu <zoey_wu@wistron.corp-partner.google.com>2023-02-13 16:23:00 +0800
committerEric Lai <eric_lai@quanta.corp-partner.google.com>2023-02-16 00:37:53 +0000
commit57987b6e195620aaa61499d4786a30ce2e924cae (patch)
tree04f46c2ef3615ed549f660ece0d82e7f7760bbc6 /src/mainboard/google/brya/variants/aurash/variant.c
parent107e7aa0f58f79ee5719f82c7147e53d7d9fa218 (diff)
mb/google/brask/var/aurash: Initiate coreboot setting
Initial Aurash configuration base on moli design. 1. Set up gpio. 2. Add memory config. 3. There is no SD card setting on aurash, remove it from overridetree. 4. Follow moli psys schematic design. 5. Enable BT offload. BUG=b:269063331 TEST=emerge-brask coreboot. Signed-off-by: Zoey Wu <zoey_wu@wistron.corp-partner.google.com> Change-Id: Ia9088cc2937bab72c8c22af592392384a10616a4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73013 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Ricky Chang <rickytlchang@google.com>
Diffstat (limited to 'src/mainboard/google/brya/variants/aurash/variant.c')
-rw-r--r--src/mainboard/google/brya/variants/aurash/variant.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/aurash/variant.c b/src/mainboard/google/brya/variants/aurash/variant.c
new file mode 100644
index 0000000000..951bfe5365
--- /dev/null
+++ b/src/mainboard/google/brya/variants/aurash/variant.c
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <chip.h>
+#include <fw_config.h>
+#include <baseboard/variants.h>
+#include <variant/gpio.h>
+#include <acpi/acpigen.h>
+
+void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config)
+{
+ config->cnvi_bt_audio_offload = fw_config_probe(FW_CONFIG(AUDIO,
+ NAU88L25B_I2S));
+}