summaryrefslogtreecommitdiff
path: root/src/mainboard/google/skyrim/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/skyrim/bootblock.c')
-rw-r--r--src/mainboard/google/skyrim/bootblock.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mainboard/google/skyrim/bootblock.c b/src/mainboard/google/skyrim/bootblock.c
index d1000d30b9..5a1c4daa9b 100644
--- a/src/mainboard/google/skyrim/bootblock.c
+++ b/src/mainboard/google/skyrim/bootblock.c
@@ -5,7 +5,15 @@
void bootblock_mainboard_early_init(void)
{
- /* TODO: Perform mainboard initialization */
+ size_t num_gpios, override_num_gpios;
+ const struct soc_amd_gpio *gpios, *override_gpios;
+
+ variant_tpm_gpio_table(&gpios, &num_gpios);
+ gpio_configure_pads(gpios, num_gpios);
+
+ variant_early_gpio_table(&gpios, &num_gpios);
+ variant_early_override_gpio_table(&override_gpios, &override_num_gpios);
+ gpio_configure_pads_with_override(gpios, num_gpios, override_gpios, override_num_gpios);
}
void bootblock_mainboard_init(void)