mainboard/intel/glkrvp: Configure Prmrr and Enable SGX

Configure PRMRR to allocate 128MiB for SGX enclave memory and enable SGX
by default for GLKRVP platform.

Supported PRMRR size options:
0x02000000 - 32MiB
0x04000000 - 64MiB
0x08000000 - 128MiB

Change-Id: Ifa39df4a1da84bae49551a9626257bda0729752b
Signed-off-by: Pratik Prajapati <pratikkumar.v.prajapati@intel.com>
Reviewed-on: https://review.coreboot.org/21278
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Pratik Prajapati 2017-08-29 15:42:27 -07:00 committed by Aaron Durbin
parent ff3162b5e4
commit 73f073d393
1 changed files with 8 additions and 0 deletions

View File

@ -90,6 +90,14 @@ chip soc/intel/apollolake
# Minimum SLP S3 assertion width 28ms.
register "slp_s3_assertion_width_usecs" = "28000"
register "sgx_enable" = "1"
# PRMRR size options
# 0x02000000 - 32MiB
# 0x04000000 - 64MiB
# 0x08000000 - 128MiB
register "PrmrrSize" = "128 * MiB"
device domain 0 on
device pci 00.0 on end # - Host Bridge
device pci 00.1 on end # - DPTF