summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/pch
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common/pch')
-rw-r--r--src/soc/intel/common/pch/lockdown/lockdown.c3
1 files changed, 3 insertions, 0 deletions
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
*