summaryrefslogtreecommitdiffstats
path: root/src/usr/pnor
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/pnor')
-rw-r--r--src/usr/pnor/pnorrp.C4
-rw-r--r--src/usr/pnor/sfc_fake.C4
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*/);
}
OpenPOWER on IntegriCloud