diff options
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; |