summaryrefslogtreecommitdiffstats
path: root/src/import/generic/memory/lib/spd/lrdimm
diff options
context:
space:
mode:
authorAndre Marin <aamarin@us.ibm.com>2018-07-24 00:02:23 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-08-06 09:32:54 -0500
commit6a03e838d00c6fb01525019c9b8c1cc3c667c7d3 (patch)
treeb2d8639f14c4e910c5a5b6efc60f17f34cde096f /src/import/generic/memory/lib/spd/lrdimm
parent95b925b6af0e553da06f61d89d2a0c1616882e29 (diff)
downloadtalos-hostboot-6a03e838d00c6fb01525019c9b8c1cc3c667c7d3.tar.gz
talos-hostboot-6a03e838d00c6fb01525019c9b8c1cc3c667c7d3.zip
Generalize byte reading from SPD reading, for exp i2c reuse
Change-Id: I388e5abd6639464514fb9ca2d555362e431b753c Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63209 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63538 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/generic/memory/lib/spd/lrdimm')
-rw-r--r--src/import/generic/memory/lib/spd/lrdimm/ddr4/lrdimm_decoder_ddr4.H3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/import/generic/memory/lib/spd/lrdimm/ddr4/lrdimm_decoder_ddr4.H b/src/import/generic/memory/lib/spd/lrdimm/ddr4/lrdimm_decoder_ddr4.H
index 49220680c..4a5de2b5b 100644
--- a/src/import/generic/memory/lib/spd/lrdimm/ddr4/lrdimm_decoder_ddr4.H
+++ b/src/import/generic/memory/lib/spd/lrdimm/ddr4/lrdimm_decoder_ddr4.H
@@ -42,6 +42,7 @@
#include <generic/memory/lib/spd/spd_decoder_def.H>
#include <generic/memory/lib/spd/common/dimm_module_decoder.H>
#include <generic/memory/lib/spd/spd_reader.H>
+#include <generic/memory/lib/utils/mss_buffer_utils.H>
namespace mss
{
@@ -317,7 +318,7 @@ class decoder<DDR4, LRDIMM_MODULE, R > : public dimm_module_decoder
{
fapi2::buffer<uint16_t> l_buffer;
- rightAlignedInsert(l_buffer, l_last_nonzero_byte, l_cont_codes);
+ right_aligned_insert(l_buffer, l_last_nonzero_byte, l_cont_codes);
o_output = l_buffer;
OpenPOWER on IntegriCloud