summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/skylake/bootblock/bootblock.c2
-rw-r--r--src/soc/intel/skylake/bootblock/pch.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/soc/intel/skylake/bootblock/bootblock.c b/src/soc/intel/skylake/bootblock/bootblock.c
index 7b8b147aaa..276bb48b95 100644
--- a/src/soc/intel/skylake/bootblock/bootblock.c
+++ b/src/soc/intel/skylake/bootblock/bootblock.c
@@ -2,7 +2,6 @@
#include <bootblock_common.h>
#include <intelblocks/fast_spi.h>
-#include <intelblocks/gspi.h>
#include <intelblocks/systemagent.h>
#include <intelblocks/tco.h>
#include <intelblocks/uart.h>
@@ -34,7 +33,6 @@ void bootblock_soc_init(void)
*/
report_platform_info();
bootblock_pch_init();
- gspi_early_bar_init();
/* Program TCO_BASE_ADDRESS and TCO Timer Halt */
tco_configure();
diff --git a/src/soc/intel/skylake/bootblock/pch.c b/src/soc/intel/skylake/bootblock/pch.c
index b15bf98fa1..1685e43e0e 100644
--- a/src/soc/intel/skylake/bootblock/pch.c
+++ b/src/soc/intel/skylake/bootblock/pch.c
@@ -5,6 +5,7 @@
#include <intelblocks/cse.h>
#include <intelblocks/dmi.h>
#include <intelblocks/fast_spi.h>
+#include <intelblocks/gspi.h>
#include <intelblocks/itss.h>
#include <intelblocks/lpc_lib.h>
#include <intelblocks/p2sb.h>
@@ -142,4 +143,6 @@ void bootblock_pch_init(void)
/* initialize Heci interface */
heci_init(HECI1_BASE_ADDRESS);
+
+ gspi_early_bar_init();
}