From 57f8386a2bfa2ca794b687cfc7846dab690fd438 Mon Sep 17 00:00:00 2001 From: Pratik Prajapati Date: Mon, 14 Aug 2017 13:47:03 -0700 Subject: intel/common/sgx: Use intel_mp_current_microcode() to get microcode pointer Get microcode patch pointer from intel_mp_current_microcode() api of mp_init and change sgx_configure function signature to drop microcode_patch param. Change-Id: I9196c30ec7ea52d7184a96b33835def197e2c799 Signed-off-by: Pratik Prajapati Reviewed-on: https://review.coreboot.org/21009 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/soc/intel/common/block/include/intelblocks/sgx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/intel/common/block/include/intelblocks') diff --git a/src/soc/intel/common/block/include/intelblocks/sgx.h b/src/soc/intel/common/block/include/intelblocks/sgx.h index 03d4ab5123..bdc35540dc 100644 --- a/src/soc/intel/common/block/include/intelblocks/sgx.h +++ b/src/soc/intel/common/block/include/intelblocks/sgx.h @@ -25,6 +25,6 @@ void cpu_lock_sgx_memory(void); /* * Configure SGX. */ -void sgx_configure(const void *microcode_patch); +void sgx_configure(void); #endif /* SOC_INTEL_COMMON_BLOCK_SGX_H */ -- cgit v1.2.3