summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorChristian Geddes <crgeddes@us.ibm.com>2019-02-20 12:37:08 -0600
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2019-03-29 09:48:42 -0500
commit33e7c6de0769ae7f408e64995e7976717ad47653 (patch)
tree421358d2233a21b21bb9b0f47852191adf2de0ce /src/include/usr
parent30a512e3d84df2ac47c1ad1876e3ff0811a7aa2a (diff)
downloadtalos-hostboot-33e7c6de0769ae7f408e64995e7976717ad47653.tar.gz
talos-hostboot-33e7c6de0769ae7f408e64995e7976717ad47653.zip
Add calls to available p9a_mss_eff_config HWPs in istep 7.4
New effective configuration HWPs have been introduced in Axone. Currently p9a_mss_eff_config and p9a_mss_eff_config_thermal are no-ops but this commit gets the calls in-place so we are ready. Eventually we need to pull in the rest of the eff_config HWPs but there are not even no-ops stubs to pull in yet. Change-Id: Icd71006d31023caa5ef913a8b81694ae9ea3a5ba RTC: 195552 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72204 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> 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: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/fapi2/vpd_access.H10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/usr/fapi2/vpd_access.H b/src/include/usr/fapi2/vpd_access.H
index 4e52500db..41b878a42 100644
--- a/src/include/usr/fapi2/vpd_access.H
+++ b/src/include/usr/fapi2/vpd_access.H
@@ -48,6 +48,16 @@ inline fapi2::ReturnCode getVPD(
return platGetVPD( i_target, io_vpd_info, o_blob );
}
+// platform specialization for OCMB target
+template<>
+inline fapi2::ReturnCode getVPD(
+ const fapi2::Target<fapi2::TARGET_TYPE_OCMB_CHIP>& i_target,
+ VPDInfo<fapi2::TARGET_TYPE_OCMB_CHIP>& io_vpd_info,
+ uint8_t* o_blob)
+{
+ return platGetVPD( i_target, io_vpd_info, o_blob );
+}
+
};
#endif // __VPDACCESS_H_
OpenPOWER on IntegriCloud