summaryrefslogtreecommitdiffstats
path: root/src/import/chips/ocmb/explorer/common/include/explorer_scom_addresses_fld_fixes.H
diff options
context:
space:
mode:
authorChristian Geddes <crgeddes@us.ibm.com>2019-08-22 17:56:05 -0500
committerChristian R Geddes <crgeddes@us.ibm.com>2019-08-29 10:45:04 -0500
commit3bbc07ee063d5d884708b25c888f7dc9e5a0e812 (patch)
treef69259c12be6ac69c2f3bba5bc8a864685feff05 /src/import/chips/ocmb/explorer/common/include/explorer_scom_addresses_fld_fixes.H
parent6c4acfedfe4f7ef3a00dd9457b4ad15eca1003ce (diff)
downloadtalos-hostboot-3bbc07ee063d5d884708b25c888f7dc9e5a0e812.tar.gz
talos-hostboot-3bbc07ee063d5d884708b25c888f7dc9e5a0e812.zip
Introduce exp_getidec HWP
This hardware procedure is used to read out the chipId and the EC level of a given explorer ocmb. The chipId is an IBM standard that provides information about what kind of chip it is and where it was made. The EC is the write level of the chip. The initial plan was to read all of this info from the CHIP_INFO register but we found that the 2nd nibble of the EC level , which represents the "minor" ec level, was not populated correctly so we must instead read that value from the EFUSE_OUT3 regsiter. Change-Id: Id3dca4449c010ad42f7f3d55428b4efb3f6dfbf0 RTC: 214627 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/82712 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Mark Pizzutillo <mark.pizzutillo@ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/82784 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>
Diffstat (limited to 'src/import/chips/ocmb/explorer/common/include/explorer_scom_addresses_fld_fixes.H')
-rw-r--r--src/import/chips/ocmb/explorer/common/include/explorer_scom_addresses_fld_fixes.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/import/chips/ocmb/explorer/common/include/explorer_scom_addresses_fld_fixes.H b/src/import/chips/ocmb/explorer/common/include/explorer_scom_addresses_fld_fixes.H
index 98102826c..fe13d9527 100644
--- a/src/import/chips/ocmb/explorer/common/include/explorer_scom_addresses_fld_fixes.H
+++ b/src/import/chips/ocmb/explorer/common/include/explorer_scom_addresses_fld_fixes.H
@@ -27,6 +27,8 @@
#define __EXPLR_SCOM_ADDRESSES_FLD_FIXES_H
static const uint64_t EXPLR_MIPS_TO_OCMB_INTERRUPT_REGISTER1_DOORBELL = 63;
+static const uint64_t EXPLR_EFUSE_IMAGE_OUT_3_ENTERPRISE_MODE_EC_MINOR = 50;
+static const uint8_t EXPLR_EFUSE_IMAGE_OUT_3_ENTERPRISE_MODE_EC_MINOR_LEN = 4;
static const uint64_t EXPLR_EFUSE_IMAGE_OUT_0_ENTERPRISE_MODE_DIS = 53;
static const uint64_t EXPLR_SRQ_MBA_PMU8Q_CFG_INIT_COMPLETE = 63;
OpenPOWER on IntegriCloud