soc/intel/apollolake: Call heci_init in romstage

Call heci_init to initialise all Heci devices and bring them to d0.

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: Id2865b649331846fc119da7c4be56cc1fed56b8b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64860
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Sean Rhodes 2022-06-01 11:32:05 +01:00 committed by Felix Held
parent 7c5a9c7cb0
commit be8cd6ba61
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,7 @@
#include <fsp/api.h> #include <fsp/api.h>
#include <fsp/util.h> #include <fsp/util.h>
#include <intelblocks/cpulib.h> #include <intelblocks/cpulib.h>
#include <intelblocks/cse.h>
#include <intelblocks/lpc_lib.h> #include <intelblocks/lpc_lib.h>
#include <intelblocks/msr.h> #include <intelblocks/msr.h>
#include <intelblocks/pmclib.h> #include <intelblocks/pmclib.h>
@ -164,6 +165,9 @@ void mainboard_romstage_entry(void)
soc_early_romstage_init(); soc_early_romstage_init();
report_platform_info(); report_platform_info();
/* Initialize Heci interfaces */
heci_init();
s3wake = pmc_fill_power_state(ps) == ACPI_S3; s3wake = pmc_fill_power_state(ps) == ACPI_S3;
fsp_memory_init(s3wake); fsp_memory_init(s3wake);