aboutsummaryrefslogtreecommitdiff
path: root/src/security/intel/txt/txt_getsec.h
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-10-21 00:23:29 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-11-04 23:31:11 +0000
commit5725ee4f9f056b4ea62efe205d823a6132b56971 (patch)
treebcf22473ca47d439afe139d106f03fd4a6320906 /src/security/intel/txt/txt_getsec.h
parent527647677a8da418bf4854eada32d9090393ee5f (diff)
sec/intel/txt: Add support for running SCLEAN in romstage
SCLEAN has specific requirements and needs to run in early romstage, since the DRAM would be locked when SCLEAN needs to be executed. Change-Id: I77b237342e0c98eda974f87944f1948d197714db Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46607 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/security/intel/txt/txt_getsec.h')
-rw-r--r--src/security/intel/txt/txt_getsec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/security/intel/txt/txt_getsec.h b/src/security/intel/txt/txt_getsec.h
index 78171a7d5a..f949c7d361 100644
--- a/src/security/intel/txt/txt_getsec.h
+++ b/src/security/intel/txt/txt_getsec.h
@@ -20,4 +20,7 @@ void getsec_enteraccs(const uint32_t esi,
const uint32_t acm_base,
const uint32_t acm_size);
+void getsec_sclean(const uint32_t acm_base,
+ const uint32_t acm_size);
+
#endif /* SECURITY_INTEL_TXT_REGISTER_H_ */