diff --git a/src/soc/intel/skylake/bootblock/pch.c b/src/soc/intel/skylake/bootblock/pch.c index 1685e43e0e..ec60cabbea 100644 --- a/src/soc/intel/skylake/bootblock/pch.c +++ b/src/soc/intel/skylake/bootblock/pch.c @@ -2,7 +2,6 @@ #include #include #include -#include #include #include #include @@ -141,8 +140,5 @@ void bootblock_pch_init(void) enable_rtc_upper_bank(); - /* initialize Heci interface */ - heci_init(HECI1_BASE_ADDRESS); - gspi_early_bar_init(); } diff --git a/src/soc/intel/skylake/romstage/romstage.c b/src/soc/intel/skylake/romstage/romstage.c index 30f65eae01..7e891b19f8 100644 --- a/src/soc/intel/skylake/romstage/romstage.c +++ b/src/soc/intel/skylake/romstage/romstage.c @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include @@ -127,6 +128,8 @@ void mainboard_romstage_entry(void) systemagent_early_init(); /* Program SMBus base address and enable it */ smbus_common_init(); + /* initialize Heci interface */ + heci_init(HECI1_BASE_ADDRESS); ps = pmc_get_power_state(); s3wake = pmc_fill_power_state(ps) == ACPI_S3; fsp_memory_init(s3wake);