Skip to content

Commit

Permalink
Fix range Tags in attribute_types.xml
Browse files Browse the repository at this point in the history
"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>
  • Loading branch information
Ilya Smirnov authored and dcrowell77 committed May 29, 2018
1 parent a166a39 commit c1bbef5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/usr/targeting/common/xmltohb/attribute_types.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit c1bbef5

Please sign in to comment.