Michał Żygowski has submitted this change. ( https://review.coreboot.org/c/coreboot/+/59517 )
Change subject: security/intel/txt: Use set_global_reset in txt_reset_platform if possible ......................................................................
security/intel/txt: Use set_global_reset in txt_reset_platform if possible
Allow to set global reset bits on other platforms which enable SOUTHBRIDGE_INTEL_COMMON_ME. In certain Intel TXT flows global reset instead of full power cycle reset is needed.
Signed-off-by: Michał Żygowski michal.zygowski@3mdeb.com Change-Id: I561458044860ee5a26f7d61bcff1c407fa1533f2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59517 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Angel Pons th3fanbus@gmail.com --- M src/security/intel/txt/common.c 1 file changed, 6 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved
diff --git a/src/security/intel/txt/common.c b/src/security/intel/txt/common.c index 18dbe06..61ff0eb 100644 --- a/src/security/intel/txt/common.c +++ b/src/security/intel/txt/common.c @@ -16,6 +16,9 @@ #if CONFIG(SOC_INTEL_COMMON_BLOCK_SA) #include <soc/intel/common/reset.h> #else +#if CONFIG(SOUTHBRIDGE_INTEL_COMMON_ME) +#include <southbridge/intel/common/me.h> +#endif #include <cf9_reset.h> #endif
@@ -29,6 +32,9 @@ #if CONFIG(SOC_INTEL_COMMON_BLOCK_SA) global_reset(); #else +#if CONFIG(SOUTHBRIDGE_INTEL_COMMON_ME) + set_global_reset(1); +#endif full_reset(); #endif }
6 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one.