summaryrefslogtreecommitdiff
path: root/src/soc/intel/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r--src/soc/intel/common/block/cpu/cpulib.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/soc/intel/common/block/cpu/cpulib.c b/src/soc/intel/common/block/cpu/cpulib.c
index 31f160a7bb..fd3919750f 100644
--- a/src/soc/intel/common/block/cpu/cpulib.c
+++ b/src/soc/intel/common/block/cpu/cpulib.c
@@ -367,10 +367,11 @@ int get_prmrr_size(void)
valid_size = 0;
}
- /* die if we could not find a valid size within the limit */
- if (!valid_size)
- die("Unsupported PRMRR size limit %i MiB, check your config!\n",
+ if (!valid_size) {
+ printk(BIOS_WARNING, "Unsupported PRMRR size of %i MiB, check your config!\n",
CONFIG_SOC_INTEL_COMMON_BLOCK_SGX_PRMRR_SIZE);
+ return 0;
+ }
printk(BIOS_DEBUG, "PRMRR size set to %i MiB\n", valid_size);