diff --git a/src/soc/intel/common/pch/lockdown/lockdown.c b/src/soc/intel/common/pch/lockdown/lockdown.c index f8eb511889..eec3beb01b 100644 --- a/src/soc/intel/common/pch/lockdown/lockdown.c +++ b/src/soc/intel/common/pch/lockdown/lockdown.c @@ -29,6 +29,9 @@ int get_lockdown_config(void) static void gpmr_lockdown_cfg(void) { + if (!CONFIG(SOC_INTEL_COMMON_BLOCK_GPMR)) + return; + /* * GCS reg *