From 801dbf4f09db70801ece813dad7fec3129759ef1 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Wed, 1 Jun 2022 07:56:40 +0000 Subject: soc/intel/cmn/cse: Implement heci_init() to initialize HECI devices This patch implements heci_init() API that perform initialization of all HECI devices as per MAX_HECI_DEVICES config. BUG=none TEST=Able to build and boot google/taeko with this change. No CSE error observed with `heci_init()` called from romstage. Signed-off-by: Subrata Banik Change-Id: Ia25e18a20cc749fc7eee39b0b591d41540fc14c9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64855 Tested-by: build bot (Jenkins) Reviewed-by: Lean Sheng Tan Reviewed-by: Eric Lai --- src/soc/intel/common/block/include/intelblocks/cse.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc/intel/common/block/include/intelblocks') diff --git a/src/soc/intel/common/block/include/intelblocks/cse.h b/src/soc/intel/common/block/include/intelblocks/cse.h index 28bc2503be..322e9f3d02 100644 --- a/src/soc/intel/common/block/include/intelblocks/cse.h +++ b/src/soc/intel/common/block/include/intelblocks/cse.h @@ -333,6 +333,9 @@ struct cse_boot_perf_rsp { */ void cse_init(uintptr_t bar); +/* Initialize the HECI devices. */ +void heci_init(void); + /* * Send message from BIOS_HOST_ADDR to cse_addr. * Sends snd_msg of size snd_sz, and reads message into buffer pointed by -- cgit v1.2.3