Skip to content

Commit 35257f5

Browse files
markypizzdcrowell77
authored andcommitted
Fix F0RC1x offset train display bug
Change-Id: I9a9f9186e06a049ed5429b17d9cf98b8495ff744 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/99882 Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Edgar R Cordero <ecordero@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/99916 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
1 parent 3c1e77d commit 35257f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/phy/exp_train_display.H

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ inline void display_rcw_8bit(const fapi2::Target<fapi2::TARGET_TYPE_OCMB_CHIP>&
7777
const uint64_t i_rcw_number,
7878
const uint8_t i_data)
7979
{
80-
const uint64_t l_rcw_print_number = i_rcw_number - exp_struct_sizes::RCW_8BIT_CUTOFF;
80+
// Offset by 1 since index 0 is really F*RC1X not F*RC0X
81+
const uint64_t l_rcw_print_number = i_rcw_number - exp_struct_sizes::RCW_8BIT_CUTOFF + 1;
8182
FAPI_MFG("%s DIMM%u F%uRC%xX: 0x%02x", mss::c_str(i_target), i_dimm, i_func_space, l_rcw_print_number, i_data);
8283
}
8384

0 commit comments

Comments
 (0)