Hello Subrata Banik, Sridhar Siricilla,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/71569
to look at the new patch set (#8).
Change subject: soc/intel/common: Add helper functions for SGX, Key Locker, and PRM ......................................................................
soc/intel/common: Add helper functions for SGX, Key Locker, and PRM
Add below mentioned functions:
is_sgx_configured_and_supported(): Checks if SGX is configured and supported is_keylocker_configured_and_supported(): Checks if Key Locker is configured and supported check_prm_features_enabled(): Checks if any of the features that need PRM are configured and supported. As of now SGX and Key Locker are the only features that need PRM.
Also, call check_prm_features_enabled() from get_valid_prmrr_size() to make sure PRM dependent features are enabled and configured before returning PRMRR size.
Signed-off-by: Pratikkumar Prajapati pratikkumar.v.prajapati@intel.com Change-Id: I51d3c144c410ce4c736f10e3759c7b7603ec3de9 --- M src/soc/intel/common/block/cpu/cpulib.c 1 file changed, 49 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/71569/8