diff options
author | Chris Steffen <cwsteffen@us.ibm.com> | 2016-10-14 17:47:00 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-10-16 21:37:08 -0400 |
commit | 7672512af9ddd64b5899ec41ba817905dd781730 (patch) | |
tree | a1d7b41c51510609496ce00ac1ad3eb611894d67 /src | |
parent | b6e7e73f9d7907a814f3e98fdf6c0694b83dbb47 (diff) | |
download | talos-hostboot-7672512af9ddd64b5899ec41ba817905dd781730.tar.gz talos-hostboot-7672512af9ddd64b5899ec41ba817905dd781730.zip |
Update Obus Initfile
Change-Id: I2261494fa2aa78a9e65bc23b5d3ae054464171bf
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31284
Reviewed-by: John G. Rell III <jgrell@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Gary A. Peterson <garyp@us.ibm.com>
Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31285
Reviewed-by: Hostboot Team <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>
Diffstat (limited to 'src')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/initfiles/p9_obus_scom.C | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_obus_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_obus_scom.C index a028c41e0..a7f7c7f49 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_obus_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_obus_scom.C @@ -43,6 +43,7 @@ constexpr auto literal_0b0010 = 0b0010; constexpr auto literal_0b0001 = 0b0001; constexpr auto literal_0b101 = 0b101; constexpr auto literal_0b100 = 0b100; +constexpr auto literal_0b110 = 0b110; constexpr auto literal_0b00100 = 0b00100; constexpr auto literal_0b0010101 = 0b0010101; constexpr auto literal_0b0010110 = 0b0010110; @@ -6965,6 +6966,50 @@ fapi2::ReturnCode p9_obus_scom(const fapi2::Target<fapi2::TARGET_TYPE_OBUS>& TGT } } { + l_rc = fapi2::getScom( TGT0, 0x8009700009010c3full, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009700009010c3full)"); + break; + } + + { + constexpr auto l_IOO0_IOO_CPLT_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_RC_ENABLE_CTLE_1ST_LATCH_OFFSET_CAL_ON = 0x1; + l_scom_buffer.insert<uint64_t> + (l_IOO0_IOO_CPLT_RX0_RXCTL_CTL_REGS_RX_CTL_REGS_RX_RC_ENABLE_CTLE_1ST_LATCH_OFFSET_CAL_ON, 48, 1, 63 ); + } + + l_rc = fapi2::putScom(TGT0, 0x8009700009010c3full, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009700009010c3full)"); + break; + } + } + { + l_rc = fapi2::getScom( TGT0, 0x8009880009010c3full, l_scom_buffer ); + + if (l_rc) + { + FAPI_ERR("ERROR executing: getScom (0x8009880009010c3full)"); + break; + } + + { + l_scom_buffer.insert<uint64_t> (literal_0b110, 48, 3, 61 ); + } + + l_rc = fapi2::putScom(TGT0, 0x8009880009010c3full, l_scom_buffer); + + if (l_rc) + { + FAPI_ERR("ERROR executing: putScom (0x8009880009010c3full)"); + break; + } + } + { l_rc = fapi2::getScom( TGT0, 0x800b800009010c3full, l_scom_buffer ); if (l_rc) |