summaryrefslogtreecommitdiff
path: root/src/mainboard/google/myst/bootblock.c
diff options
context:
space:
mode:
authorJon Murphy <jpmurphy@google.com>2023-03-29 18:51:12 -0600
committerFelix Held <felix-coreboot@felixheld.de>2023-04-21 13:46:09 +0000
commit1236b333b42c8376d672093456e6485e7cde5bc4 (patch)
tree79d512d5e1059f64d7e27e83c58948bc19a0ecb6 /src/mainboard/google/myst/bootblock.c
parent79b864958338ac682f27d74f0fac2ae26b9a7a20 (diff)
mb/google/myst: Enable AP <-> GSC communication
Configure GSC I2C and Interrupt GPIOs during the early initialization. Add devicetree configuration for GSC device and enable the required config items. BUG=b:275959717 TEST=builds Change-Id: I6e235356b252a7b68a42da128ffd3189a829f117 Signed-off-by: Jon Murphy <jpmurphy@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74111 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/myst/bootblock.c')
-rw-r--r--src/mainboard/google/myst/bootblock.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainboard/google/myst/bootblock.c b/src/mainboard/google/myst/bootblock.c
index 4d4d7e7468..e9d69e32bc 100644
--- a/src/mainboard/google/myst/bootblock.c
+++ b/src/mainboard/google/myst/bootblock.c
@@ -18,7 +18,11 @@ void mb_set_up_early_espi(void)
void bootblock_mainboard_early_init(void)
{
- /* TODO(b/275959717): Perform mainboard initialization */
+ size_t num_gpios;
+ const struct soc_amd_gpio *gpios;
+
+ variant_tpm_gpio_table(&gpios, &num_gpios);
+ gpio_configure_pads(gpios, num_gpios);
}
void bootblock_mainboard_init(void)