summaryrefslogtreecommitdiff
path: root/src/mainboard/google/guybrush/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/guybrush/bootblock.c')
-rw-r--r--src/mainboard/google/guybrush/bootblock.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/google/guybrush/bootblock.c b/src/mainboard/google/guybrush/bootblock.c
index 46875ff43d..f9f1ab034f 100644
--- a/src/mainboard/google/guybrush/bootblock.c
+++ b/src/mainboard/google/guybrush/bootblock.c
@@ -1,12 +1,25 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <amdblocks/acpimmio.h>
+#include <amdblocks/espi.h>
#include <bootblock_common.h>
#include <baseboard/variants.h>
#include <console/console.h>
#include <device/pci_ops.h>
#include <soc/pci_devs.h>
+void mb_set_up_early_espi(void)
+{
+ /*
+ * We don't need to initialize all of the GPIOs that are done
+ * in bootblock_mainboard_early_init(), but we need to release
+ * the EC eSPI reset and do the rest of the configuration.
+ *
+ * This will not be present in the normal boot flow.
+ */
+ bootblock_mainboard_early_init();
+}
+
void bootblock_mainboard_early_init(void)
{
size_t num_gpios;