soc/intel/common/cse: Add config to disable HECI1 at pre-boot

This patch adds a config to let mainboard users choose the correct
state of HECI1(CSE) device prior to handing off to payload.

`DISABLE_HECI1_AT_PRE_BOOT` config to make HECI1 function disable
at pre-boot.

Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I7e127816c506df3ac0cf973b69021d02d05bef4a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60721
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Subrata Banik
2022-01-03 17:33:35 +00:00
committed by Paul Fagerburg
parent 7f1a63f074
commit 76806c3263

View File

@@ -5,6 +5,15 @@ config SOC_INTEL_COMMON_BLOCK_CSE
Driver for communication with Converged Security Engine (CSE) Driver for communication with Converged Security Engine (CSE)
over Host Embedded Controller Interface (HECI) over Host Embedded Controller Interface (HECI)
config DISABLE_HECI1_AT_PRE_BOOT
bool "Disable HECI1 at the end of boot"
depends on SOC_INTEL_COMMON_BLOCK_CSE
default n
help
This config decides the state of HECI1(CSE) device at the end of boot.
Mainboard users to select this config to make HECI1 `function disable`
prior to handing off to payload.
config SOC_INTEL_COMMON_BLOCK_HECI_DISABLE_IN_SMM config SOC_INTEL_COMMON_BLOCK_HECI_DISABLE_IN_SMM
bool bool
default y if HECI_DISABLE_USING_SMM default y if HECI_DISABLE_USING_SMM