From 492738975921b5eeab19573cc47a5536e867cb02 Mon Sep 17 00:00:00 2001 From: Norman James Date: Tue, 23 Sep 2014 14:47:34 -0500 Subject: 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 Reviewed-by: A. Patrick Williams III Reviewed-by: STEPHEN M. CPREK Reviewed-by: Andrew J. Geissler --- src/usr/errl/test/errltest.H | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src/usr/errl/test/errltest.H') 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( -- cgit v1.2.1