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, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/bootblock.c b/src/mainboard/google/skyrim/bootblock.c
index 5a1c4daa9b..c332aed510 100644
--- a/src/mainboard/google/skyrim/bootblock.c
+++ b/src/mainboard/google/skyrim/bootblock.c
@@ -1,8 +1,18 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <amdblocks/espi.h>
#include <bootblock_common.h>
#include <baseboard/variants.h>
+void mb_set_up_early_espi(void)
+{
+ size_t num_gpios;
+ const struct soc_amd_gpio *gpios;
+
+ variant_espi_gpio_table(&gpios, &num_gpios);
+ gpio_configure_pads(gpios, num_gpios);
+}
+
void bootblock_mainboard_early_init(void)
{
size_t num_gpios, override_num_gpios;