diff options
| author | Corey Swenson <cswenson@us.ibm.com> | 2016-12-05 21:35:38 -0600 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-02-03 10:34:29 -0500 |
| commit | da3675d8e4c72ea6e952546e27432784c0a99a9b (patch) | |
| tree | da7168594c296f864397a7f93b3e2747236525bf /src/usr/scom/test | |
| parent | 135b23e1902271c8df773c14994a84505e0b5c20 (diff) | |
| download | talos-hostboot-da3675d8e4c72ea6e952546e27432784c0a99a9b.tar.gz talos-hostboot-da3675d8e4c72ea6e952546e27432784c0a99a9b.zip | |
Add HCODE scom update interface to HBRT
Change-Id: I8d6a8aa2330ec95e1ce612979c9fa037a633d07d
RTC:150219
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33702
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/scom/test')
| -rw-r--r-- | src/usr/scom/test/scomtest.H | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/usr/scom/test/scomtest.H b/src/usr/scom/test/scomtest.H index edfa21260..1358a5f4a 100644 --- a/src/usr/scom/test/scomtest.H +++ b/src/usr/scom/test/scomtest.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2016 */ +/* Contributors Listed Below - COPYRIGHT 2011,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -38,19 +38,14 @@ #include <fsi/fsiif.H> #include <targeting/common/util.H> #include <targeting/common/utilFilter.H> +#include <scom/scomif.H> #include <devicefw/driverif.H> extern trace_desc_t* g_trac_scom; -namespace SCOM -{ -extern errlHndl_t scomTranslate(TARGETING::Target* &i_target, - uint64_t &io_addr, - TARGETING::Target* io_target_SW, - uint64_t i_opMode = 0); -} + class ScomTest: public CxxTest::TestSuite { public: @@ -1108,9 +1103,10 @@ public: { total++; uint64_t tempAddr = test_data[i].initAddr; + bool needsWakeup = false; l_err = SCOM::scomTranslate(test_data[i].target, tempAddr, - NULL); + needsWakeup); if( l_err && !test_data[i].expectError) { |

