From 87cc9b25b008bbd84bb56208f07cfb36bd42db24 Mon Sep 17 00:00:00 2001 From: Joe McGill Date: Sat, 16 Feb 2019 10:11:11 -0500 Subject: 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 Tested-by: Jenkins Server Tested-by: HWSV CI Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Jenny Huynh Reviewed-by: LUKE MURRAY Reviewed-by: Christopher W. Steffen Reviewed-by: Jennifer A. Stofer Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72001 Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Christian R. Geddes --- src/import/chips/p9/procedures/hwp/io/p9_io_obus_image_build.C | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/import/chips/p9/procedures/hwp/io/p9_io_obus_image_build.C') 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(); - 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; -- cgit v1.2.1