diff options
author | Michael Niewöhner <foss@mniewoehner.de> | 2019-10-08 12:00:24 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-10-10 14:06:09 +0000 |
commit | 6e66d7b8ebfd179f3fedd4ead05fe166d4e8e1fe (patch) | |
tree | f13d44396542f8edca7aa1fddd3118882faccd71 /src/soc/intel/common/block/include | |
parent | edfe125bf9441fdfcfe37855ddcdc594d5e652aa (diff) | |
download | coreboot-6e66d7b8ebfd179f3fedd4ead05fe166d4e8e1fe.tar.xz |
soc/intel: sgx: get rid of UEFI-style usage of global variable
Rework SGX enable status in a clean way without using a global variable.
Change-Id: Ida6458eb46708df8fd238122aed41b57ca48c15b
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35882
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/soc/intel/common/block/include')
-rw-r--r-- | src/soc/intel/common/block/include/intelblocks/sgx.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/soc/intel/common/block/include/intelblocks/sgx.h b/src/soc/intel/common/block/include/intelblocks/sgx.h index 502483f7e9..693dd204e0 100644 --- a/src/soc/intel/common/block/include/intelblocks/sgx.h +++ b/src/soc/intel/common/block/include/intelblocks/sgx.h @@ -18,10 +18,6 @@ #include <soc/nvs.h> -struct sgx_param { - uint8_t enable; -}; - /* * Lock SGX memory. * CPU specific code needs to provide the implementation. @@ -40,10 +36,6 @@ void prmrr_core_configure(void); */ void sgx_configure(void *unused); -/* SOC specific API to get SGX params. - * returns 0, if able to get SGX params; otherwise returns -1 */ -int soc_fill_sgx_param(struct sgx_param *sgx_param); - /* Fill GNVS data with SGX status, EPC base and length */ void sgx_fill_gnvs(global_nvs_t *gnvs); |