diff --git a/src/soc/intel/meteorlake/romstage/fsp_params.c b/src/soc/intel/meteorlake/romstage/fsp_params.c index 190cb73085..57e56595a9 100644 --- a/src/soc/intel/meteorlake/romstage/fsp_params.c +++ b/src/soc/intel/meteorlake/romstage/fsp_params.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -202,8 +203,8 @@ static void fill_tme_params(FSP_M_CONFIG *m_cfg) "Full memory encryption is enabled.\n"); return; } - m_cfg->TmeExcludeBase = (ram_top - 16*MiB); - m_cfg->TmeExcludeSize = 16*MiB; + m_cfg->TmeExcludeBase = (ram_top - CACHE_TMP_RAMTOP); + m_cfg->TmeExcludeSize = CACHE_TMP_RAMTOP; } }