summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPrem Shanker Jha <premjha2@in.ibm.com>2013-10-23 11:56:59 +0530
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-11-05 09:37:29 -0600
commit5255e6862b3dca19deddbf11aa6f8fcedadea348 (patch)
treef257b2ad5dcce238667b8c2b5106b27024a0dac1 /src
parent1a6b3c35f7218f081c870236e7badeb5c3f89923 (diff)
downloadblackbird-hostboot-5255e6862b3dca19deddbf11aa6f8fcedadea348.tar.gz
blackbird-hostboot-5255e6862b3dca19deddbf11aa6f8fcedadea348.zip
PRD:Resolved compilation warning
Change-Id: I841cd9a61c2bb1c7e370028f8598620ac7f048cc Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/6817 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7040
Diffstat (limited to 'src')
-rw-r--r--src/usr/diag/prdf/common/plat/pegasus/prdfPlatProcConst.H15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfPlatProcConst.H b/src/usr/diag/prdf/common/plat/pegasus/prdfPlatProcConst.H
index 935d223bc..c1215cdff 100644
--- a/src/usr/diag/prdf/common/plat/pegasus/prdfPlatProcConst.H
+++ b/src/usr/diag/prdf/common/plat/pegasus/prdfPlatProcConst.H
@@ -34,8 +34,14 @@ namespace PRDF
namespace TOD
{
+//NOTE: Position at which strings representing names of TOD control registers
+//are placed in regStatList cannot be changed independently. Position of string
+//in the array must match value of corresponding enum member e.g. value
+//of MPCR is zero, therefore, TOD_MPCR can only be placed at regStatList[0]
+
// following enum represents all the tod control and status registers which
// need to be read and restored during data parity errors.
+
enum Register
{
MPCR = 0,
@@ -49,15 +55,6 @@ enum Register
LAST_TOD_REG = 8,
};
-//NOTE: Position at which strings representing names of TOD control registers
-//are placed in regStatList cannot be changed independently. Position of string
-//in the array must match value of corresponding enum member e.g. value
-//of MPCR is zero, therefore, TOD_MPCR can only be placed at regStatList[0]
-
-static const char *regStatList[] = { "TOD_MPCR","TOD_PCRP0", "TOD_PCRP1",
- "TOD_SCRP0", "TOD_SCRP1","TOD_SPCR",
- "TOD_IPCR", "TOD_PSMSCR" };
-
}//end namespace TOD
} // end namespace PRDF
OpenPOWER on IntegriCloud