summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas
diff options
context:
space:
mode:
authorAdam Muhle <armuhle@us.ibm.com>2012-06-25 07:50:23 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-07-09 12:23:40 -0500
commita87cb9ce7a0322f9fd6c6e015894f12a2975e10f (patch)
tree036b9f7d634493154723b3d1c4171fbed1938aa3 /src/usr/hwas
parentdfff59856617139f7776d473fdc226a91761128e (diff)
downloadtalos-hostboot-a87cb9ce7a0322f9fd6c6e015894f12a2975e10f.tar.gz
talos-hostboot-a87cb9ce7a0322f9fd6c6e015894f12a2975e10f.zip
Update PNOR RP to parse FFS Partition Table
This function allows us to support varied PNOR layouts in Hostboot. Change-Id: I7294999d3619692aaab424dca1ae608a0a84fa81 RTC: 35057 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1274 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwas')
-rw-r--r--src/usr/hwas/deconfigGard.C47
1 files changed, 24 insertions, 23 deletions
diff --git a/src/usr/hwas/deconfigGard.C b/src/usr/hwas/deconfigGard.C
index 28a7b917d..549c5e09d 100644
--- a/src/usr/hwas/deconfigGard.C
+++ b/src/usr/hwas/deconfigGard.C
@@ -1,25 +1,26 @@
-// IBM_PROLOG_BEGIN_TAG
-// This is an automatically generated prolog.
-//
-// $Source: src/usr/hwas/deconfigGard.C $
-//
-// IBM CONFIDENTIAL
-//
-// COPYRIGHT International Business Machines Corp. 2011
-//
-// p1
-//
-// Object Code Only (OCO) source materials
-// Licensed Internal Code Source Materials
-// IBM HostBoot Licensed Internal Code
-//
-// The source code for this program is not published or other-
-// wise divested of its trade secrets, irrespective of what has
-// been deposited with the U.S. Copyright Office.
-//
-// Origin: 30
-//
-// IBM_PROLOG_END
+/* IBM_PROLOG_BEGIN_TAG
+ * This is an automatically generated prolog.
+ *
+ * $Source: src/usr/hwas/deconfigGard.C $
+ *
+ * IBM CONFIDENTIAL
+ *
+ * COPYRIGHT International Business Machines Corp. 2011-2012
+ *
+ * p1
+ *
+ * Object Code Only (OCO) source materials
+ * Licensed Internal Code Source Materials
+ * IBM HostBoot Licensed Internal Code
+ *
+ * The source code for this program is not published or other-
+ * wise divested of its trade secrets, irrespective of what has
+ * been deposited with the U.S. Copyright Office.
+ *
+ * Origin: 30
+ *
+ * IBM_PROLOG_END_TAG
+ */
/**
* @file deconfigGard.C
*
@@ -736,7 +737,7 @@ errlHndl_t DeconfigGard::_ensureGardRecordDataSetup()
PNOR::SectionInfo_t l_section;
// TODO Update when PNOR for GARD Records available (change HB_DATA)
- l_pErr = PNOR::getSectionInfo(PNOR::HB_DATA, PNOR::SIDE_A, l_section);
+ l_pErr = PNOR::getSectionInfo(PNOR::HB_DATA, PNOR::CURRENT_SIDE, l_section);
if(l_pErr)
{
OpenPOWER on IntegriCloud