From 7cd968e69bc026d26b7edb4f102513ae348298a7 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 28 Mar 2022 15:43:25 -0700 Subject: [PATCH] soc/intel/common: Add Kconfig SOC_INTEL_CSE_SET_EOP The do_send_end_of_post function is implemented in the cse_eop.c file. This change adds the Kconfig SOC_INTEL_CSE_SET_EOP in cse.c to avoid build issue. Change-Id: Ib52404d9ad4c01a460e4cfef331c529d2a53337a Signed-off-by: John Zhao Reviewed-on: https://review.coreboot.org/c/coreboot/+/63159 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik Reviewed-by: Wonkyu Kim --- src/soc/intel/common/block/cse/cse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/soc/intel/common/block/cse/cse.c b/src/soc/intel/common/block/cse/cse.c index bbd8afc503..d786a65e8a 100644 --- a/src/soc/intel/common/block/cse/cse.c +++ b/src/soc/intel/common/block/cse/cse.c @@ -1212,7 +1212,8 @@ struct cse_notify_phase_data { */ static void cse_final_ready_to_boot(void) { - cse_send_end_of_post(); + if (CONFIG(SOC_INTEL_CSE_SET_EOP)) + cse_send_end_of_post(); cse_control_global_reset_lock();