soc/intel/apollolake: Add SGX support
commitdc194e2bc4e7421d760693702775b39784522bb3
authorPratik Prajapati <pratikkumar.v.prajapati@intel.com>
Tue, 29 Aug 2017 21:27:07 +0000 (29 14:27 -0700)
committerSubrata Banik <subrata.banik@intel.com>
Wed, 27 Sep 2017 06:58:32 +0000 (27 06:58 +0000)
tree9d287958a0bef0ec281733d496222c314c98c2e4
parent4bc6edf90956a9971aedb187e570d5c0f58d70cd
soc/intel/apollolake: Add SGX support

- Call into commmon SGX code to configure core PRMRR and follow
  other SGX init seqeuence.
- Enable SOC_INTEL_COMMON_BLOCK_SGX for both GLK
- Enable SOC_INTEL_COMMON_BLOCK_CPU_MPINIT for GLK, as MP init needs
  to be completed before calling into fsp-s for SGX.

Change-Id: I9331cf5b2cbc86431e2749b84a55f77f7f3c5960
Signed-off-by: Pratik Prajapati <pratikkumar.v.prajapati@intel.com>
Reviewed-on: https://review.coreboot.org/21276
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
src/soc/intel/apollolake/Kconfig
src/soc/intel/apollolake/cpu.c