diff options
author | Juan Medina <jr.medina@us.ibm.com> | 2017-02-27 12:05:05 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-03-03 16:10:34 -0500 |
commit | 64feee6468d0f61b8b9a918eb77feb0009ce8e6c (patch) | |
tree | 2cf9ba5956f98b98d353465560cb3a974db8a56f /src/import/chips/p9/procedures/hwp/initfiles/p9_vas_scom.C | |
parent | a844e1ce6fd7be1f6bcaf147b26e2b413d6cbf64 (diff) | |
download | talos-hostboot-64feee6468d0f61b8b9a918eb77feb0009ce8e6c.tar.gz talos-hostboot-64feee6468d0f61b8b9a918eb77feb0009ce8e6c.zip |
Adding RMA BAR, Fix to MMIOBAR
Change-Id: I160b4a4620e499e367350fd09a2f4271553441c3
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37110
Reviewed-by: Jenny Huynh <jhuynh@us.ibm.com>
Dev-Ready: Jenny Huynh <jhuynh@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: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37112
Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+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/import/chips/p9/procedures/hwp/initfiles/p9_vas_scom.C')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/initfiles/p9_vas_scom.C | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/import/chips/p9/procedures/hwp/initfiles/p9_vas_scom.C b/src/import/chips/p9/procedures/hwp/initfiles/p9_vas_scom.C index cb5dbdfd0..70aaef735 100644 --- a/src/import/chips/p9/procedures/hwp/initfiles/p9_vas_scom.C +++ b/src/import/chips/p9/procedures/hwp/initfiles/p9_vas_scom.C @@ -32,8 +32,7 @@ using namespace fapi2; constexpr uint64_t literal_0x00200102000D7FFF = 0x00200102000D7FFF; constexpr uint64_t literal_0x0000000000000000 = 0x0000000000000000; constexpr uint64_t literal_0x00DF0201C0000000 = 0x00DF0201C0000000; -constexpr uint64_t literal_0x80000000 = 0x80000000; -constexpr uint64_t literal_0x8000000 = 0x8000000; +constexpr uint64_t literal_0x0080000000000000 = 0x0080000000000000; constexpr uint64_t literal_0x1 = 0x1; fapi2::ReturnCode p9_vas_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& TGT0, @@ -66,16 +65,28 @@ fapi2::ReturnCode p9_vas_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& { FAPI_TRY(fapi2::getScom( TGT0, 0x301180aull, l_scom_buffer )); - l_scom_buffer.insert<8, 31, 33, uint64_t>(literal_0x80000000 ); + l_scom_buffer.insert<8, 31, 8, uint64_t>(literal_0x0080000000000000 ); FAPI_TRY(fapi2::putScom(TGT0, 0x301180aull, l_scom_buffer)); } { FAPI_TRY(fapi2::getScom( TGT0, 0x301180bull, l_scom_buffer )); - l_scom_buffer.insert<8, 28, 36, uint64_t>(literal_0x8000000 ); + l_scom_buffer.insert<8, 28, 8, uint64_t>(literal_0x0080000000000000 ); FAPI_TRY(fapi2::putScom(TGT0, 0x301180bull, l_scom_buffer)); } { + FAPI_TRY(fapi2::getScom( TGT0, 0x301180eull, l_scom_buffer )); + + l_scom_buffer.insert<8, 44, 8, uint64_t>(literal_0x0080000000000000 ); + FAPI_TRY(fapi2::putScom(TGT0, 0x301180eull, l_scom_buffer)); + } + { + FAPI_TRY(fapi2::getScom( TGT0, 0x301180full, l_scom_buffer )); + + l_scom_buffer.insert<8, 44, 8, uint64_t>(literal_0x0080000000000000 ); + FAPI_TRY(fapi2::putScom(TGT0, 0x301180full, l_scom_buffer)); + } + { FAPI_TRY(fapi2::getScom( TGT0, 0x301184dull, l_scom_buffer )); l_scom_buffer.insert<19, 1, 63, uint64_t>(literal_0x1 ); |