summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2022-03-24 17:06:47 -0600
committerFelix Held <felix-coreboot@felixheld.de>2022-03-30 22:42:01 +0000
commit879a2789eeca2f054f23a8d19f2afcf8479c7559 (patch)
tree30092670a27a76a8a08f9ec2497ec6c0099b4563 /src
parentd0b059fcd4cad2546ac1477470275ccbcd325a78 (diff)
mb/google/skyrim: Call espi_switch_to_spi1_pads
We are using the second SPI pads for eSPI. BUG=b:226635441 TEST=Build skyrim Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I43713d7376a28ced2be635668836464ceec46392 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63096 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/skyrim/bootblock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/bootblock.c b/src/mainboard/google/skyrim/bootblock.c
index c332aed510..4128090fcc 100644
--- a/src/mainboard/google/skyrim/bootblock.c
+++ b/src/mainboard/google/skyrim/bootblock.c
@@ -3,6 +3,7 @@
#include <amdblocks/espi.h>
#include <bootblock_common.h>
#include <baseboard/variants.h>
+#include <soc/espi.h>
void mb_set_up_early_espi(void)
{
@@ -11,6 +12,8 @@ void mb_set_up_early_espi(void)
variant_espi_gpio_table(&gpios, &num_gpios);
gpio_configure_pads(gpios, num_gpios);
+
+ espi_switch_to_spi1_pads();
}
void bootblock_mainboard_early_init(void)