summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/skyrim/verstage.c3
-rw-r--r--src/soc/amd/sabrina/Makefile.inc1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/verstage.c b/src/mainboard/google/skyrim/verstage.c
index 8aaf70cd6e..5c176a507f 100644
--- a/src/mainboard/google/skyrim/verstage.c
+++ b/src/mainboard/google/skyrim/verstage.c
@@ -6,6 +6,7 @@
#include <baseboard/variants.h>
#include <psp_verstage.h>
#include <security/vboot/vboot_common.h>
+#include <soc/espi.h>
#include <soc/southbridge.h>
void verstage_mainboard_early_init(void)
@@ -25,6 +26,8 @@ void verstage_mainboard_espi_init(void)
variant_espi_gpio_table(&gpios, &num_gpios);
gpio_configure_pads(gpios, num_gpios);
+
+ espi_switch_to_spi1_pads();
}
void verstage_mainboard_tpm_init(void)
diff --git a/src/soc/amd/sabrina/Makefile.inc b/src/soc/amd/sabrina/Makefile.inc
index a94e19693f..19e756a37a 100644
--- a/src/soc/amd/sabrina/Makefile.inc
+++ b/src/soc/amd/sabrina/Makefile.inc
@@ -19,6 +19,7 @@ bootblock-y += reset.c
bootblock-y += uart.c
verstage-y += i2c.c
+verstage-y += espi_util.c
verstage_x86-y += gpio.c
verstage_x86-y += reset.c
verstage_x86-y += uart.c