summaryrefslogtreecommitdiffstats
path: root/src/import
diff options
context:
space:
mode:
authorChris Steffen <cwsteffen@us.ibm.com>2016-10-14 17:47:00 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-08-20 10:04:44 -0500
commit3b1a2bb98f1bc65c27ed30fcf15a0b41adad7153 (patch)
tree4e50442f75610c1097dc157bcb6fd5a4d9d6d0f3 /src/import
parent8832be410a8cc38847a920a0036386ea3272f714 (diff)
downloadtalos-hostboot-3b1a2bb98f1bc65c27ed30fcf15a0b41adad7153.tar.gz
talos-hostboot-3b1a2bb98f1bc65c27ed30fcf15a0b41adad7153.zip
Update Obus Initfile
Change-Id: I0a5d8423349f1d484071e7c8fb4a5962ea540e20 Original-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://rchgit01.rchland.ibm.com/gerrit1/64756 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import')
-rw-r--r--src/import/chips/p9/procedures/hwp/initfiles/p9_obus_scom.C45
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 8d93cfb15..5c06d37bc 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)
OpenPOWER on IntegriCloud