[coreboot-gerrit] Change in coreboot[master]: soc/intel/common/sgx: provide weak implementation of cpu_lock_sgx_mem...

Pratikkumar V Prajapati (Code Review) gerrit at coreboot.org
Tue Aug 29 23:35:44 CEST 2017


Pratikkumar V Prajapati has uploaded this change for review. ( https://review.coreboot.org/21275


Change subject: soc/intel/common/sgx: provide weak implementation of cpu_lock_sgx_memory()
......................................................................

soc/intel/common/sgx: provide weak implementation of cpu_lock_sgx_memory()

SOC/CPU specific provides the actual implementation if its needed.
Not all SOC/CPU needs to perform this init sequence.

Change-Id: I9212e99488905d245983accc8a49a94061b22119
Signed-off-by: Pratik Prajapati <pratikkumar.v.prajapati at intel.com>
---
M src/soc/intel/common/block/sgx/sgx.c
1 file changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/75/21275/1

diff --git a/src/soc/intel/common/block/sgx/sgx.c b/src/soc/intel/common/block/sgx/sgx.c
index a199a83..7480d4b 100644
--- a/src/soc/intel/common/block/sgx/sgx.c
+++ b/src/soc/intel/common/block/sgx/sgx.c
@@ -167,6 +167,12 @@
 	return 0;
 }
 
+/* SOC/CPU specific provides the actual implementation if its needed */
+__attribute__((weak)) void cpu_lock_sgx_memory(void)
+{
+	/* Do nothing*/
+}
+
 void sgx_configure(void)
 {
 	device_t dev = SA_DEV_ROOT;

-- 
To view, visit https://review.coreboot.org/21275
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9212e99488905d245983accc8a49a94061b22119
Gerrit-Change-Number: 21275
Gerrit-PatchSet: 1
Gerrit-Owner: Pratikkumar V Prajapati <pratikkumar.v.prajapati at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170829/db065a43/attachment.html>


More information about the coreboot-gerrit mailing list