summaryrefslogtreecommitdiff
path: root/src/soc/intel/cannonlake/memmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/cannonlake/memmap.c')
-rw-r--r--src/soc/intel/cannonlake/memmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/cannonlake/memmap.c b/src/soc/intel/cannonlake/memmap.c
index 8ffda2a57b..b2dd26dcf0 100644
--- a/src/soc/intel/cannonlake/memmap.c
+++ b/src/soc/intel/cannonlake/memmap.c
@@ -147,7 +147,7 @@ static size_t calculate_traditional_mem_size(uintptr_t dram_base,
traditional_mem_base -= sa_get_tseg_size();
/* Get DPR size */
- if (IS_ENABLED(CONFIG_SA_ENABLE_DPR))
+ if (CONFIG(SA_ENABLE_DPR))
traditional_mem_base -= sa_get_dpr_size();
/* Traditional Area Size */