diff options
author | Andre Marin <aamarin@us.ibm.com> | 2018-12-12 14:51:15 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2019-02-05 17:01:27 -0600 |
commit | bd7d0b7b5d90275064bdb3ca6a5cd1e36f37bcf7 (patch) | |
tree | 71f22570545632fc1be38a817e443f6926bc033a /src/import/generic/memory/lib/utils/mss_field.H | |
parent | 605baad67443c4c282d322115e4d5edbaf118d3a (diff) | |
download | talos-hostboot-bd7d0b7b5d90275064bdb3ca6a5cd1e36f37bcf7.tar.gz talos-hostboot-bd7d0b7b5d90275064bdb3ca6a5cd1e36f37bcf7.zip |
Add SPD DDIMM DDR4 module except for PMIC fields
Change-Id: Ib5268d2bc425733d30fbca98eaeb8d4a62a918a2
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69838
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Dev-Ready: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com>
Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70746
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/generic/memory/lib/utils/mss_field.H')
-rw-r--r-- | src/import/generic/memory/lib/utils/mss_field.H | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/import/generic/memory/lib/utils/mss_field.H b/src/import/generic/memory/lib/utils/mss_field.H index 44afb1e59..e22b2fa47 100644 --- a/src/import/generic/memory/lib/utils/mss_field.H +++ b/src/import/generic/memory/lib/utils/mss_field.H @@ -179,6 +179,9 @@ inline fapi2::ReturnCode get_field(const fapi2::Target<T>& i_target, const FFDC i_ffdc_codes, OT& o_value) { + // Initializes the output value to 0, that way, we won't have any stale data in o_value + o_value = 0; + const size_t BYTE = F.get_byte(i_data); FAPI_ASSERT( BYTE < i_data.size(), |