summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2018-08-10 08:57:57 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-09-27 08:04:16 -0500
commit9d54c3e4a33d5f1458a3ab3b76d5db72eec43fef (patch)
tree386fe3a91466d435aa6349dcf2d02d892128f238 /src/usr/fapi2
parenta291da772449900cb76b86f557f7386b08fb01dc (diff)
downloadtalos-hostboot-9d54c3e4a33d5f1458a3ab3b76d5db72eec43fef.tar.gz
talos-hostboot-9d54c3e4a33d5f1458a3ab3b76d5db72eec43fef.zip
Attribute cleanup
Added mrwHide to a lot of platInit attributes, this will prevent them from showing up in the ServerWiz tool where the value will be hard to change. Instead these will always rely on the default in the xml or explicit platform code to set. Also removed a bunch of unused tags to clean things up. Change-Id: Id237924d737392368c418cc31d6506f1f5598b98 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64233 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+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: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66015 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-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/usr/fapi2')
-rw-r--r--src/usr/fapi2/attribute_service.C40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/usr/fapi2/attribute_service.C b/src/usr/fapi2/attribute_service.C
index 848905401..350e23da8 100644
--- a/src/usr/fapi2/attribute_service.C
+++ b/src/usr/fapi2/attribute_service.C
@@ -2814,46 +2814,6 @@ ReturnCode platGetFreqMcaMhz(const Target<TARGET_TYPE_ALL>& i_fapiTarget,
return l_rc;
}
-//******************************************************************************
-// fapi::platAttrSvc::platSetFreqMcaMhz function
-//******************************************************************************
-ReturnCode platSetFreqMcaMhz(const Target<TARGET_TYPE_ALL>& i_fapiTarget,
- uint32_t i_val)
-{
- fapi2::ReturnCode l_rc;
-
- TARGETING::Target * l_pTarget = NULL;
- errlHndl_t l_errl = getTargetingTarget(i_fapiTarget, l_pTarget);
- if (l_errl)
- {
- FAPI_ERR("platSetFreqMcaMhz: Error from getTargetingTarget");
- l_rc.setPlatDataPtr(reinterpret_cast<void *> (l_errl));
- }
- else
- {
- /*@
- * @errortype
- * @moduleid fapi2::MOD_FAPI2_SET_ATTR_FREQ_MCA_MHZ
- * @reasoncode fapi2::RC_SET_ATTR_NOT_VALID
- * @userdata1 HUID
- * @userdata2 Requested attr value
- * @devdesc platSetFreqMcaMhz should never be called
- */
- l_errl = new ERRORLOG::ErrlEntry(
- ERRORLOG::ERRL_SEV_UNRECOVERABLE,
- fapi2::MOD_FAPI2_SET_ATTR_FREQ_MCA_MHZ,
- fapi2::RC_SET_ATTR_NOT_VALID,
- TARGETING::get_huid(l_pTarget),
- i_val,
- true);
-
- FAPI_ERR("platSetFreqMcaMhz: Function should never be called");
- l_rc.setPlatDataPtr(reinterpret_cast<void *> (l_errl));
- }
-
- return l_rc;
-}
-
} // End platAttrSvc namespace
OpenPOWER on IntegriCloud