diff options
author | Thi Tran <thi@us.ibm.com> | 2014-11-13 12:47:31 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-01-16 10:10:54 -0600 |
commit | a59dccb2db8eabad2b756b9207e28a0e72aa7cbc (patch) | |
tree | de09149cbedd5e57fef42a21beab6a67f44eea4f /src/usr/pnor | |
parent | f2f75404fafd6d6e7e52a5b901665165ab61b625 (diff) | |
download | talos-hostboot-a59dccb2db8eabad2b756b9207e28a0e72aa7cbc.tar.gz talos-hostboot-a59dccb2db8eabad2b756b9207e28a0e72aa7cbc.zip |
P8+ VPO - HB supports to istep 7 for NVLINK test
Change-Id: I79ec79e1601ae51bf759b80a07c5b4cf2d97fc5c
RTC: 95236
Depends-On: I19823ac32a963d7072d21140b828c30ab326a19f
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14468
Tested-by: Jenkins Server
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/pnor')
-rw-r--r-- | src/usr/pnor/pnorrp.C | 4 | ||||
-rw-r--r-- | src/usr/pnor/sfc_fake.C | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/usr/pnor/pnorrp.C b/src/usr/pnor/pnorrp.C index 81358661c..a8ad0fb7a 100644 --- a/src/usr/pnor/pnorrp.C +++ b/src/usr/pnor/pnorrp.C @@ -43,6 +43,7 @@ #include <kernel/console.H> #include <endian.h> #include <util/align.H> +#include <config.h> // Trace definition trace_desc_t* g_trac_pnor = NULL; @@ -277,8 +278,11 @@ void PnorRP::initDaemon() errlCommit(l_errhdl,PNOR_COMP_ID); } +// Not supporting PNOR error in VPO +#ifndef CONFIG_VPO_COMPILE // call ErrlManager function - tell him that PNOR is ready! ERRORLOG::ErrlManager::errlResourceReady(ERRORLOG::PNOR); +#endif TRACUCOMP(g_trac_pnor, "< PnorRP::initDaemon" ); } diff --git a/src/usr/pnor/sfc_fake.C b/src/usr/pnor/sfc_fake.C index 90cce7843..9071043a2 100644 --- a/src/usr/pnor/sfc_fake.C +++ b/src/usr/pnor/sfc_fake.C @@ -277,8 +277,8 @@ errlHndl_t SfcFake::sendSpiCmd( uint8_t i_opCode, return new ERRORLOG::ErrlEntry(ERRORLOG::ERRL_SEV_UNRECOVERABLE, PNOR::MOD_SFCFAKE_SENDSPICMD, PNOR::RC_UNSUPPORTED_OPERATION, - TWO_UINT32_TO_UINT64(i_opCode - i_addr), + TWO_UINT32_TO_UINT64(i_opCode, + i_address), 0, true /*Software error*/); } |