summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/common/block/cse/cse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/cse/cse.c b/src/soc/intel/common/block/cse/cse.c
index ef6db3da4f..d10492bbe0 100644
--- a/src/soc/intel/common/block/cse/cse.c
+++ b/src/soc/intel/common/block/cse/cse.c
@@ -555,6 +555,9 @@ int heci_reset(void)
{
uint32_t csr;
+ /* Clear post code to prevent eventlog entry from unknown code. */
+ post_code(0);
+
/* Send reset request */
csr = read_host_csr();
csr |= (CSR_RESET | CSR_IG);