summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorayma <ayma@us.ibm.com>2012-09-27 18:21:49 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-10-01 11:08:34 -0500
commit5d70614ca826d45c1d1d3457811b55cccf482582 (patch)
tree2e99f9625319c4d12fdc761e8e37abd1abb5bb61 /src
parentf440e24ddb3b50aae078f1d3b454591502abe2b5 (diff)
downloadtalos-hostboot-5d70614ca826d45c1d1d3457811b55cccf482582.tar.gz
talos-hostboot-5d70614ca826d45c1d1d3457811b55cccf482582.zip
add mnfg flags to the targetting data
RTC:45804 Change-Id: I1ac87519e2f64eac5c18a923b3784676c5bab733 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1910 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/usr/targeting/common/xmltohb/attribute_types.xml87
-rw-r--r--src/usr/targeting/common/xmltohb/target_types.xml1
2 files changed, 88 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml
index 26a3192cb..90352824f 100644
--- a/src/usr/targeting/common/xmltohb/attribute_types.xml
+++ b/src/usr/targeting/common/xmltohb/attribute_types.xml
@@ -4606,4 +4606,91 @@ bits6:7 will be consumed together to form COARSE_LVL. </description>
<writeable/>
</attribute>
+<attribute>
+ <id>ATTR_MNFG_FLAGS</id>
+ <description> Provides the mnfg flags
+ in a single value. The bits are
+ masked together so the single value
+ will have data on several mnfg flags.
+ Should note that the MNFG_FLAG_BIT enum
+ is used to provide the value of the
+ different mnfg flags. A user can bitwise
+ 'OR' several of the MNFG_FLAG_BIT values
+ together to indicate that multiple mnfg
+ flags are set.
+ @TODO via RTC: 35451
+ The HostBoot side can only read the mnfg
+ flag attribute. However the FSP side will
+ need to read and write the mnfg flag
+ attributes. For now making it so both sides
+ are read and writeable but will need to revisit
+ to find a better way to handle persistency when
+ the hostboot and FSP differ.
+ </description>
+ <simpleType>
+ <uint64_t>
+ <default>0x0000000000000000</default>
+ </uint64_t>
+ </simpleType>
+ <persistency>non-volatile</persistency>
+ <readable/>
+ <writeable/>
+</attribute>
+
+<enumerationType>
+ <id>MNFG_FLAG_BIT</id>
+ <description>Enumeration indicating the mnfg flags
+ that are set by the user. The values can be
+ combined using a bitwise 'OR'. The values will
+ need to be kept in sync with the FAPI
+ enumerator values. Also the enumeration type
+ is used by the ATTR_MNFG_FLAGS attribute. Should
+ note that the MNFG_FLAG_BIT values are of type uint32_t
+ </description>
+ <enumerator>
+ <name>MNFG_THRESHOLDS</name>
+ <value>0x00000001</value>
+ </enumerator>
+ <enumerator>
+ <name>MNFG_AVP_ENABLE</name>
+ <value>0x00000002</value>
+ </enumerator>
+ <enumerator>
+ <name>MNFG_HDAT_AVP_ENABLE</name>
+ <value>0x00000004</value>
+ </enumerator>
+ <enumerator>
+ <name>MNFG_SRC_TERM</name>
+ <value>0x00000008</value>
+ </enumerator>
+ <enumerator>
+ <name>MNFG_IPL_MEMORY_CE_CHECKINGE</name>
+ <value>0x00000010</value>
+ </enumerator>
+ <enumerator>
+ <name>MNFG_FAST_BACKGROUND_SCRUB</name>
+ <value>0x00000020</value>
+ </enumerator>
+ <enumerator>
+ <name>MNFG_TEST_DRAM_REPAIRS</name>
+ <value>0x00000040</value>
+ </enumerator>
+ <enumerator>
+ <name>MNFG_DISABLE_DRAM_REPAIRS</name>
+ <value>0x00000080</value>
+ </enumerator>
+ <enumerator>
+ <name>MNFG_ENABLE_EXHAUSTIVE_PATTERN_TEST</name>
+ <value>0x00000100</value>
+ </enumerator>
+ <enumerator>
+ <name>MNFG_ENABLE_STANDARD_PATTERN_TEST</name>
+ <value>0x00000200</value>
+ </enumerator>
+ <enumerator>
+ <name>MNFG_ENABLE_MINIMUM_PATTERN_TEST</name>
+ <value>0x00000400</value>
+ </enumerator>
+</enumerationType>
+
</attributes>
diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml
index 04aae9fef..d21eeaa1a 100644
--- a/src/usr/targeting/common/xmltohb/target_types.xml
+++ b/src/usr/targeting/common/xmltohb/target_types.xml
@@ -109,6 +109,7 @@
<attribute><id>MSS_CLEANER_ENABLE</id></attribute>
<attribute><id>MIRROR_BASE_ADDRESS</id></attribute>
<attribute><id>NOMINAL_FREQ_MHZ</id></attribute>
+ <attribute><id>ATTR_MNFG_FLAGS</id></attribute>
</targetType>
<targetType>
OpenPOWER on IntegriCloud