summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/io/p9_io_obus_image_build.C
diff options
context:
space:
mode:
authorJoe McGill <jmcgill@us.ibm.com>2019-02-16 10:11:11 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2019-03-14 11:36:28 -0500
commit87cc9b25b008bbd84bb56208f07cfb36bd42db24 (patch)
tree7e5bf6323f44afb627306dc45c9eb315f7337113 /src/import/chips/p9/procedures/hwp/io/p9_io_obus_image_build.C
parentee476c6abdade79afa5e3c989b58f4e1c21a42f9 (diff)
downloadtalos-hostboot-87cc9b25b008bbd84bb56208f07cfb36bd42db24.tar.gz
talos-hostboot-87cc9b25b008bbd84bb56208f07cfb36bd42db24.zip
cleanup references to chip-centric EC feature attributes
Change-Id: Ib777b27c6013a647ae86e6ff5973bab19faceb56 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71994 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@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: Jenny Huynh <jhuynh@us.ibm.com> Reviewed-by: LUKE MURRAY <murrayl@us.ibm.com> Reviewed-by: Christopher W. Steffen <cwsteffen@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72001 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/p9/procedures/hwp/io/p9_io_obus_image_build.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/io/p9_io_obus_image_build.C10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/import/chips/p9/procedures/hwp/io/p9_io_obus_image_build.C b/src/import/chips/p9/procedures/hwp/io/p9_io_obus_image_build.C
index 2d4277ac7..ae108339c 100644
--- a/src/import/chips/p9/procedures/hwp/io/p9_io_obus_image_build.C
+++ b/src/import/chips/p9/procedures/hwp/io/p9_io_obus_image_build.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2018 */
+/* Contributors Listed Below - COPYRIGHT 2015,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -108,7 +108,7 @@ fapi2::ReturnCode p9_io_obus_image_build(CONST_OBUS& iTgt, void* const iHwImageP
uint8_t configMode = 0;
int xipSectionId = 0;
bool loadImage = false;
- fapi2::ATTR_CHIP_EC_FEATURE_P9C_LOGIC_ONLY_Type l_p9c;
+ fapi2::ATTR_CHIP_EC_FEATURE_HW446279_Type l_hw446279;
FAPI_TRY(FAPI_ATTR_GET(fapi2::ATTR_OPTICS_CONFIG_MODE, iTgt, configMode),
"Error from FAPI_ATTR_GET(ATTR_OPTICS_CONFIG_MODE)");
@@ -128,11 +128,11 @@ fapi2::ReturnCode p9_io_obus_image_build(CONST_OBUS& iTgt, void* const iHwImageP
FAPI_IMP("ABUS IMAGE.");
xipSectionId = P9_XIP_SECTION_IOPPE_IOO_ABUS;
auto l_chip = iTgt.getParent<fapi2::TARGET_TYPE_PROC_CHIP>();
- FAPI_TRY(FAPI_ATTR_GET(fapi2::ATTR_CHIP_EC_FEATURE_P9C_LOGIC_ONLY,
+ FAPI_TRY(FAPI_ATTR_GET(fapi2::ATTR_CHIP_EC_FEATURE_HW446279,
l_chip,
- l_p9c));
+ l_hw446279));
- if(l_p9c)
+ if(l_hw446279)
{
FAPI_IMP("ABUS IMAGE LOAD.");
loadImage = true;
OpenPOWER on IntegriCloud