diff options
author | Joe McGill <jmcgill@us.ibm.com> | 2019-02-16 10:11:11 -0500 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2019-03-14 11:36:28 -0500 |
commit | 87cc9b25b008bbd84bb56208f07cfb36bd42db24 (patch) | |
tree | 7e5bf6323f44afb627306dc45c9eb315f7337113 /src/import/chips/p9/procedures/hwp | |
parent | ee476c6abdade79afa5e3c989b58f4e1c21a42f9 (diff) | |
download | talos-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')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/io/p9_io_obus_dccal.C | 10 | ||||
-rw-r--r-- | src/import/chips/p9/procedures/hwp/io/p9_io_obus_image_build.C | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/import/chips/p9/procedures/hwp/io/p9_io_obus_dccal.C b/src/import/chips/p9/procedures/hwp/io/p9_io_obus_dccal.C index f7b24c3e5..359ba33ac 100644 --- a/src/import/chips/p9/procedures/hwp/io/p9_io_obus_dccal.C +++ b/src/import/chips/p9/procedures/hwp/io/p9_io_obus_dccal.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2018 */ +/* Contributors Listed Below - COPYRIGHT 2015,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -702,14 +702,14 @@ fapi2::ReturnCode p9_obus_halt_ppe(const OBUS_TGT i_tgt) const uint64_t HALT = 0x1000000000000000ull; // xcr cmd=001 fapi2::buffer<uint64_t> l_xcr_data(HALT); - fapi2::ATTR_CHIP_EC_FEATURE_P9C_LOGIC_ONLY_Type l_p9c; + fapi2::ATTR_CHIP_EC_FEATURE_HW446279_Type l_hw446279; auto l_chip = i_tgt.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_TRY(fapi2::putScom(i_tgt, OBUS_PPE_XCR_ADDR, 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; |