summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common/genHwsvMrwXml.pl
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2013-09-11 13:44:42 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-09-12 10:02:37 -0500
commitfd1a15f8ee4bae8bbfb2eb076129cb184b4cb2ec (patch)
tree518f565f9b03c76b3895f058acc1ce36bba18749 /src/usr/targeting/common/genHwsvMrwXml.pl
parent83f9f2cb3b83f623eed7ad2f023dc347a1a1a641 (diff)
downloadtalos-hostboot-fd1a15f8ee4bae8bbfb2eb076129cb184b4cb2ec.tar.gz
talos-hostboot-fd1a15f8ee4bae8bbfb2eb076129cb184b4cb2ec.zip
Fix unsupported binary data in targeting xml
The xml->binary script for the targeting data silently turns binary format data into zeros. This caused a problem with a couple OCC attributes specifically. Change-Id: I082d9734ae0e64143b320b06809c3c0558da5bba CQ: SW222938 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6115 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common/genHwsvMrwXml.pl')
-rwxr-xr-xsrc/usr/targeting/common/genHwsvMrwXml.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/targeting/common/genHwsvMrwXml.pl b/src/usr/targeting/common/genHwsvMrwXml.pl
index e4b053d60..4c3ad2008 100755
--- a/src/usr/targeting/common/genHwsvMrwXml.pl
+++ b/src/usr/targeting/common/genHwsvMrwXml.pl
@@ -1531,7 +1531,7 @@ sub generate_sys
<default>10</default>
</attribute>
<attribute><id>PM_SPIVID_FREQUENCY</id>
- <default>0b11</default>
+ <default>0x1</default>
</attribute>
";
# HDAT drawer number (physical node) to
@@ -1970,11 +1970,11 @@ sub generate_proc
<attribute><id>PM_SPIVID_PORT_ENABLE</id>\n";
if( $proc % 2 == 0 ) # proc0 of DCM
{
- print " <default>0b100</default><!-- PORT0NONRED -->";
+ print " <default>0x4</default><!-- PORT0NONRED -->";
}
else # proc1 of DCM
{
- print " <default>0b000</default><!-- NONE -->";
+ print " <default>0x0</default><!-- NONE -->";
}
print "
</attribute>
OpenPOWER on IntegriCloud