diff options
Diffstat (limited to 'src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.h')
-rw-r--r-- | src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.h b/src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.h index 6df14845d8..1f4fa743b4 100644 --- a/src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.h +++ b/src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.h @@ -50,4 +50,12 @@ /* Revision of the FSP binary */ #define FSP_GOLD3_REV_ID 0x00000303 +#define NO_DECREMENT_FOR_DEFAULT 0 +#define DECREMENT_FOR_DEFAULT 1 + +#define UPD_MEMDOWN_CHECK(member, adjust) \ + if (config->member != UPD_DEFAULT) { \ + UpdData->PcdMemoryParameters.member = config->member - adjust; \ + } + #endif /* CHIPSET_FSP_UTIL_H */ |