diff options
author | Christian Geddes <crgeddes@us.ibm.com> | 2019-10-16 17:47:04 -0500 |
---|---|---|
committer | Daniel M Crowell <dcrowell@us.ibm.com> | 2019-10-22 08:23:54 -0500 |
commit | 8b524caae018b295f4ed604f6ce1e96d5a718d75 (patch) | |
tree | afcc1f960e59069e8353ee12be52e09e12aae154 /src/usr/isteps/istep07/call_mss_eff_config.C | |
parent | a0207ea107c872b19372646070d8556f985d6861 (diff) | |
download | talos-hostboot-8b524caae018b295f4ed604f6ce1e96d5a718d75.tar.gz talos-hostboot-8b524caae018b295f4ed604f6ce1e96d5a718d75.zip |
Set endianess attributes in hb_customized_attrs instead of in code
When we first detected we needed to have these attributes differerent
than what the EKB had we set them in the call_mss_eff_config istep
code. Really these should be set in the hb_customized_attrs xml.
Change-Id: I7166a25c53330bf90e423b0e4de718b95344bfb7
RTC: 202491
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/85443
Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Tested-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/isteps/istep07/call_mss_eff_config.C')
-rw-r--r-- | src/usr/isteps/istep07/call_mss_eff_config.C | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/usr/isteps/istep07/call_mss_eff_config.C b/src/usr/isteps/istep07/call_mss_eff_config.C index 00ebcc429..e5ac21875 100644 --- a/src/usr/isteps/istep07/call_mss_eff_config.C +++ b/src/usr/isteps/istep07/call_mss_eff_config.C @@ -207,18 +207,11 @@ void* call_mss_eff_config( void *io_pArgs ) TARGETING::ATTR_MODEL_type l_procModel = TARGETING::targetService().getProcessorModel(); - TARGETING::Target* l_sys = nullptr; - targetService().getTopLevelTarget(l_sys); - assert( l_sys != nullptr ); - TARGETING::TargetHandleList l_membufTargetList; TARGETING::TargetHandleList l_mcsTargetList; TARGETING::TargetHandleList l_memportTargetList; std::vector<fapi2::Target<fapi2::TARGET_TYPE_OCMB_CHIP>> l_fapi_ocmb_targets; - //TODO RTC: 202491 Ensure endianess in simics matches hardware - l_sys->setAttr<TARGETING::ATTR_MSS_OCMB_EXP_STRUCT_MMIO_ENDIAN_CTRL>(fapi2::ENUM_ATTR_MSS_OCMB_EXP_STRUCT_MMIO_ENDIAN_CTRL_NO_SWAP); - l_sys->setAttr<TARGETING::ATTR_MSS_OCMB_EXP_STRUCT_ENDIAN>(fapi2::ENUM_ATTR_MSS_OCMB_EXP_STRUCT_ENDIAN_LITTLE_ENDIAN); if(l_procModel == TARGETING::MODEL_CUMULUS) { |