summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Smirnov <ismirno@us.ibm.com>2018-05-29 08:05:28 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-05-29 16:34:17 -0400
commitc1bbef56ec511bb0a4f8bdf129af53fed51ac817 (patch)
tree13c9d12d9c81375500d252caadb3b154b4d45012
parenta166a390e16f229f1eb77406a1bfcc841bc1b781 (diff)
downloadtalos-hostboot-c1bbef56ec511bb0a4f8bdf129af53fed51ac817.tar.gz
talos-hostboot-c1bbef56ec511bb0a4f8bdf129af53fed51ac817.zip
Fix range Tags in attribute_types.xml
"range" tags in attribute type definitions need to be outside of the "simpleType" tags for the xmltohb.pl parser to recognize and process them correctly. This change factors out the range tags from under simpleType tags. Change-Id: Idf023e7ff036457cefcd4f32fbf00fd176eb4b92 RTC: 191163 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59460 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
-rwxr-xr-xsrc/usr/targeting/common/xmltohb/attribute_types.xml16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml
index 5d158c124..c5b1661b5 100755
--- a/src/usr/targeting/common/xmltohb/attribute_types.xml
+++ b/src/usr/targeting/common/xmltohb/attribute_types.xml
@@ -1044,14 +1044,14 @@
the optimal boot configuration. This attribute can be removed if TPM
gard is ever supported.
</description>
+ <range>
+ <min>0</min>
+ <max>1</max>
+ </range>
<simpleType>
<uint8_t>
<default>0</default>
</uint8_t>
- <range>
- <min>0</min>
- <max>1</max>
- </range>
</simpleType>
<persistency>non-volatile</persistency>
<readable></readable>
@@ -1181,14 +1181,14 @@
<id>DPO_MIN_FREQ_PERCENT</id>
<persistency>non-volatile</persistency>
<readable></readable>
+ <range>
+ <min>-100</min>
+ <max>0</max>
+ </range>
<simpleType>
<int32_t>
<default>0</default>
</int32_t>
- <range>
- <min>-100</min>
- <max>0</max>
- </range>
</simpleType>
<writeable></writeable>
</attribute>
OpenPOWER on IntegriCloud