summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/common/block/cpu/cpulib.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/soc/intel/common/block/cpu/cpulib.c b/src/soc/intel/common/block/cpu/cpulib.c
index 5b703cfcb4..31f160a7bb 100644
--- a/src/soc/intel/common/block/cpu/cpulib.c
+++ b/src/soc/intel/common/block/cpu/cpulib.c
@@ -346,10 +346,8 @@ int get_prmrr_size(void)
int i;
int valid_size;
- if (CONFIG(SOC_INTEL_COMMON_BLOCK_SGX_PRMRR_DISABLED)) {
- printk(BIOS_DEBUG, "PRMRR disabled by config.\n");
+ if (!CONFIG(SOC_INTEL_COMMON_BLOCK_SGX))
return 0;
- }
msr = rdmsr(MSR_PRMRR_VALID_CONFIG);
if (!msr.lo) {