summaryrefslogtreecommitdiffstats
path: root/src/usr/errl/test/errltest.H
diff options
context:
space:
mode:
authorNorman James <njames@us.ibm.com>2014-09-23 14:47:34 -0500
committerAndrew J. Geissler <andrewg@us.ibm.com>2014-12-18 09:13:52 -0600
commit492738975921b5eeab19573cc47a5536e867cb02 (patch)
tree5dbaa546c5f6b23231c75c377d99e02814ac01bb /src/usr/errl/test/errltest.H
parent9e91fa4f9e2ce76c458f8839e2f573c3cbc90797 (diff)
downloadtalos-hostboot-492738975921b5eeab19573cc47a5536e867cb02.tar.gz
talos-hostboot-492738975921b5eeab19573cc47a5536e867cb02.zip
Added callout interface for parts such as PNOR and SBE
Parts supported for callout are PNOR, SBE, VRM, GPIO, etc Change-Id: I6734d58e8e44a7bfd71e87cc4f910bce9473f86d RTC: 109945 CMVC-Coreq: 945677 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13547 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
Diffstat (limited to 'src/usr/errl/test/errltest.H')
-rw-r--r--src/usr/errl/test/errltest.H16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/usr/errl/test/errltest.H b/src/usr/errl/test/errltest.H
index a08d49a8d..3ef76f3ec 100644
--- a/src/usr/errl/test/errltest.H
+++ b/src/usr/errl/test/errltest.H
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2011,2014 */
+/* Contributors Listed Below - COPYRIGHT 2011,2014 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -454,6 +456,7 @@ public:
deconfigCount++;
errlCommit(errl, CXXTEST_COMP_ID);
+
errl = new ERRORLOG::ErrlEntry(
ERRORLOG::ERRL_SEV_UNRECOVERABLE,
ERRORLOG::ERRL_TEST_MOD_ID,
@@ -464,6 +467,8 @@ public:
HWAS::SRCI_PRIORITY_HIGH);
errlCommit(errl, CXXTEST_COMP_ID);
+
+
errl = new ERRORLOG::ErrlEntry(
ERRORLOG::ERRL_SEV_UNRECOVERABLE,
ERRORLOG::ERRL_TEST_MOD_ID,
@@ -482,6 +487,15 @@ public:
HWAS::NO_DECONFIG,
HWAS::GARD_NULL);
+ // Part callout using deconfig/GARD parameters
+ errl->addPartCallout(
+ pExList[0],
+ HWAS::PNOR_PART_TYPE,
+ HWAS::SRCI_PRIORITY_HIGH,
+ HWAS::NO_DECONFIG,
+ HWAS::GARD_NULL);
+
+
if (pExList.size() > 1)
{
errl->addBusCallout(
OpenPOWER on IntegriCloud