summaryrefslogtreecommitdiffstats
path: root/src/import/chips/ocmb/explorer/procedures/hwp
diff options
context:
space:
mode:
authorMark Pizzutillo <Mark.Pizzutillo@ibm.com>2019-05-06 13:37:41 -0400
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-05-11 09:25:05 -0500
commit621e0bac1f53170756cc2dd54e53e6febfd903ba (patch)
treeb4719ea843e399787ee746490df8db390a6d21f5 /src/import/chips/ocmb/explorer/procedures/hwp
parent5fd2903850cb4329f8e1f4beb9f8cc94e2d4b3fe (diff)
downloadtalos-hostboot-621e0bac1f53170756cc2dd54e53e6febfd903ba.tar.gz
talos-hostboot-621e0bac1f53170756cc2dd54e53e6febfd903ba.zip
Fix exp_getecid register accesses
Change-Id: Ie2dc434f28edb422cc445cc2683fd0bf94afa6e3 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76987 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: 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: 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/77008 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>
Diffstat (limited to 'src/import/chips/ocmb/explorer/procedures/hwp')
-rw-r--r--src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_getecid_utils.C5
-rw-r--r--src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H2
2 files changed, 2 insertions, 5 deletions
diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_getecid_utils.C b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_getecid_utils.C
index dcef63ec8..427f2a3ea 100644
--- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_getecid_utils.C
+++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_getecid_utils.C
@@ -36,7 +36,7 @@
#include <lib/i2c/exp_i2c.H>
#include <lib/shared/exp_consts.H>
#include <explorer_scom_addresses.H>
-#include <explorer_scom_addresses_fld.H>
+#include <explorer_scom_addresses_fld_fixes.H>
#include <mss_explorer_attribute_setters.H>
#include <generic/memory/lib/utils/mss_buffer_utils.H>
@@ -68,8 +68,7 @@ fapi2::ReturnCode get_enterprise_and_half_dimm_from_fuse(
o_enterprise_mode = fapi2::ENUM_ATTR_MSS_OCMB_ENTERPRISE_MODE_NON_ENTERPRISE; // 0
// If we support enterprise mode, enable it until otherwise overridden in OMI_SETUP
- if(!l_reg_resp_buffer.getBit < EXPLR_EFUSE_IMAGE_OUT_0_ENTERPRISE_MODE_DIS
- + mss::exp::ecid_consts::REG_BIT_OFFSET > ())
+ if(!l_reg_resp_buffer.getBit <EXPLR_EFUSE_IMAGE_OUT_0_ENTERPRISE_MODE_DIS> ())
{
o_enterprise_mode = fapi2::ENUM_ATTR_MSS_OCMB_ENTERPRISE_MODE_ENTERPRISE; // 1, enabled
}
diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H
index f354a4ea9..05b91def0 100644
--- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H
+++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H
@@ -117,8 +117,6 @@ enum ecid_consts
DATA_IN_SIZE = 16,
// TK - Will need to be changed once ATTR_ECID is made larger
ATTR_ECID_SIZE = 2,
- // 32 bit registers with getScom/putScom use the right-most 32 bits
- REG_BIT_OFFSET = 32,
};
///
OpenPOWER on IntegriCloud