diff options
author | crgeddes <crgeddes@us.ibm.com> | 2016-01-13 14:16:49 -0600 |
---|---|---|
committer | Stephen Cprek <smcprek@us.ibm.com> | 2016-02-19 17:06:06 -0600 |
commit | c387c6b560f72060317cac3b3a2ef81adea0d694 (patch) | |
tree | 3e3d3d55b25fd02a9552214bed7dc1299848647e /src/usr/targeting/common/test | |
parent | 875b7b11041874bd1f4ca2ecf595f14652cbdac8 (diff) | |
download | talos-hostboot-c387c6b560f72060317cac3b3a2ef81adea0d694.tar.gz talos-hostboot-c387c6b560f72060317cac3b3a2ef81adea0d694.zip |
Add BASE_XSCOM_ADDRESS ATTR to SYS object
Change-Id: Idc7dc8720b3ac5909032da5d031d13e2a8fef255
RTC: 143749
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23282
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common/test')
-rw-r--r-- | src/usr/targeting/common/test/testcommontargeting.H | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/usr/targeting/common/test/testcommontargeting.H b/src/usr/targeting/common/test/testcommontargeting.H index dcae47e5f..d62c9d51b 100644 --- a/src/usr/targeting/common/test/testcommontargeting.H +++ b/src/usr/targeting/common/test/testcommontargeting.H @@ -1329,15 +1329,13 @@ class CommonTargetingTestSuite: public CxxTest::TestSuite "attribute access",l_type,TARGETING::TYPE_SYS); } -//@TODO RTC:143749 System target returning invalid XSCOM BASE ADDRESS with -// direct attribute access -// uint64_t l_xscom = -// l_pTarget->getAttr<TARGETING::ATTR_XSCOM_BASE_ADDRESS>(); -// if(l_xscom != 0x0003FC0000000000ULL) -// { -// TARG_TS_FAIL("l_xscom value is 0x%016llX, not 0x%016llX as expected in direct " -// "attribute access",l_xscom,0x0003FC00000000ULL); -// } + uint64_t l_xscom = + l_pTarget->getAttr<TARGETING::ATTR_XSCOM_BASE_ADDRESS>(); + if(l_xscom != 0x000603FC00000000ULL) + { + TARG_TS_FAIL("l_xscom value is 0x%016llX, not 0x%016llX as expected in direct " + "attribute access",l_xscom,0x000603FC00000000ULL); + } TARG_TS_TRACE(INFO_MRK "Now using FAPI get macros"); |