summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn <john.zhao@intel.com>2022-03-28 15:43:25 -0700
committerFelix Held <felix-coreboot@felixheld.de>2022-03-31 14:22:21 +0000
commit7cd968e69bc026d26b7edb4f102513ae348298a7 (patch)
treeb1c5f4f01374acb79dc266e61c54af1301415c03 /src
parentac49aaf0f948fec9c57c6e19ad706dedf0856960 (diff)
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 <john.zhao@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63159 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/common/block/cse/cse.c3
1 files changed, 2 insertions, 1 deletions
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();