summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Pizzutillo <Mark.Pizzutillo@ibm.com>2019-10-21 17:01:31 -0400
committerChristian R Geddes <crgeddes@us.ibm.com>2019-10-28 12:58:47 -0500
commitd639a5a4590ff3b686ba7854b42b0403b7cacbde (patch)
tree133a59efe2b5459bba1edf76609c9be78edba999
parentca56ad521e7faf926650ecd658a70cf900f8b946 (diff)
downloadtalos-hostboot-d639a5a4590ff3b686ba7854b42b0403b7cacbde.tar.gz
talos-hostboot-d639a5a4590ff3b686ba7854b42b0403b7cacbde.zip
Add printout of ECID in exp_getecid
Change-Id: Ib005e5a76365247aa19bd623038d64f95d779075 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/85655 Dev-Ready: Mark Pizzutillo <mark.pizzutillo@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: Louis Stermole <stermole@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/85663 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: Christian R Geddes <crgeddes@us.ibm.com>
-rw-r--r--src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_getecid.C5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_getecid.C b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_getecid.C
index 5090dca10..7bad2df39 100644
--- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_getecid.C
+++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_getecid.C
@@ -90,6 +90,11 @@ extern "C"
FAPI_TRY(mss::exp::ecid::read_from_fuse(i_target, l_ecid),
"exp_getecid: Could not read ecid from FUSE on %s", mss::c_str(i_target));
+ for (uint8_t l_ecid_idx = 0; l_ecid_idx < mss::exp::ecid_consts::FUSE_ARRAY_SIZE; ++l_ecid_idx)
+ {
+ FAPI_INF("%s ECID[%u]: 0x%04X", mss::c_str(i_target), l_ecid_idx, l_ecid[l_ecid_idx]);
+ }
+
// TK - Remove once ATTR_ECID is made large enough
FAPI_TRY(mss::attr::set_ocmb_ecid(i_target, l_ecid),
"exp_getecid: Could not set ATTR_MSS_OCMB_ECID on %s", mss::c_str(i_target));
OpenPOWER on IntegriCloud