summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants/dochi/variant.c
diff options
context:
space:
mode:
authorMorris Hsu <morris-hsu@quanta.corp-partner.google.com>2023-10-03 14:17:13 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-10-13 13:46:06 +0000
commit2fa482d6c5f0e1d6de0be3add5794aa52a2f4191 (patch)
tree8cac00aa7da1a8fd4aae53d2847c8657c4e327bb /src/mainboard/google/brya/variants/dochi/variant.c
parentd3df99f88ded523c008fea762f18ed729882cae6 (diff)
mb/google/brya/var/dochi: Update overridetree
Update overridetree base on schematics revision 20230923. BUG=b:299284564, b:298328847, b:299570339 TEST=emerge-brya coreboot Change-Id: I0aff94ef3233fbc4f52d33bb2dc1285b4fe473f9 Signed-off-by: Morris Hsu <morris-hsu@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78212 Reviewed-by: David Wu <david_wu@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/brya/variants/dochi/variant.c')
-rw-r--r--src/mainboard/google/brya/variants/dochi/variant.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/dochi/variant.c b/src/mainboard/google/brya/variants/dochi/variant.c
new file mode 100644
index 0000000000..ae8488481c
--- /dev/null
+++ b/src/mainboard/google/brya/variants/dochi/variant.c
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <chip.h>
+#include <fw_config.h>
+#include <baseboard/variants.h>
+
+void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config)
+{
+ if (fw_config_probe(FW_CONFIG(FPMCU_MASK, FPMCU_DISABLED)))
+ config->serial_io_gspi_mode[PchSerialIoIndexGSPI1] = PchSerialIoDisabled;
+}