summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMike Jones <mjjones@us.ibm.com>2012-10-02 12:38:54 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-10-04 14:31:44 -0500
commitd05fe5a6cb9d9dfa92954db9923603fdb6c8adca (patch)
tree38b056c37ef8ca2911044795c1f1503e92067511 /src
parent83980fe5cef8d75f479c963fa4701d6aedbdfd88 (diff)
downloadtalos-hostboot-d05fe5a6cb9d9dfa92954db9923603fdb6c8adca.tar.gz
talos-hostboot-d05fe5a6cb9d9dfa92954db9923603fdb6c8adca.zip
HWPF Attribute: Add ATTR_MNFG_FLAGS
On Hostboot/FSP, this is a simple pass-through to get the corresponding Targeting attribute Change-Id: I57a4ffe26eff8cace3584df311552d73880088c5 RTC: 34182 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1933 Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Andrea Y. Ma <ayma@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/usr/hwpf/hwp/system_attributes.xml67
-rw-r--r--src/usr/targeting/common/xmltohb/attribute_types.xml6
-rw-r--r--src/usr/targeting/common/xmltohb/target_types.xml2
3 files changed, 51 insertions, 24 deletions
diff --git a/src/usr/hwpf/hwp/system_attributes.xml b/src/usr/hwpf/hwp/system_attributes.xml
index 42cc0f2b5..58bffd3f2 100644
--- a/src/usr/hwpf/hwp/system_attributes.xml
+++ b/src/usr/hwpf/hwp/system_attributes.xml
@@ -1,25 +1,25 @@
-<!-- IBM_PROLOG_BEGIN_TAG
- This is an automatically generated prolog.
-
- $Source: src/usr/hwpf/hwp/fapiHwpAttributeInfo.xml $
-
- IBM CONFIDENTIAL
-
- COPYRIGHT International Business Machines Corp. 2011
-
- p1
-
- Object Code Only (OCO) source materials
- Licensed Internal Code Source Materials
- IBM HostBoot Licensed Internal Code
-
- The source code for this program is not published or other-
- wise divested of its trade secrets, irrespective of what has
- been deposited with the U.S. Copyright Office.
-
- Origin: 30
-
- IBM_PROLOG_END -->
+<!-- IBM_PROLOG_BEGIN_TAG -->
+<!-- This is an automatically generated prolog. -->
+<!-- -->
+<!-- $Source: src/usr/hwpf/hwp/system_attributes.xml $ -->
+<!-- -->
+<!-- IBM CONFIDENTIAL -->
+<!-- -->
+<!-- COPYRIGHT International Business Machines Corp. 2011,2012 -->
+<!-- -->
+<!-- p1 -->
+<!-- -->
+<!-- Object Code Only (OCO) source materials -->
+<!-- Licensed Internal Code Source Materials -->
+<!-- IBM HostBoot Licensed Internal Code -->
+<!-- -->
+<!-- The source code for this program is not published or otherwise -->
+<!-- divested of its trade secrets, irrespective of what has been -->
+<!-- deposited with the U.S. Copyright Office. -->
+<!-- -->
+<!-- Origin: 30 -->
+<!-- -->
+<!-- IBM_PROLOG_END_TAG -->
<!--
XML file specifying HWPF attributes.
These are platInit attributes associated with the system.
@@ -52,6 +52,29 @@
</attribute>
<!-- ********************************************************************* -->
<attribute>
+ <id>ATTR_MNFG_FLAGS</id>
+ <targetType>TARGET_TYPE_SYSTEM</targetType>
+ <description>
+ The manufacturing flags.
+ This is a bitfield. Each bit is a flag and multiple flags can be set
+ </description>
+ <valueType>uint64</valueType>
+ <enum>
+ MNFG_THRESHOLDS = 0x0000000000000001,
+ MNFG_AVP_ENABLE = 0x0000000000000002,
+ MNFG_HDAT_AVP_ENABLE = 0x0000000000000004,
+ MNFG_SRC_TERM = 0x0000000000000008,
+ MNFG_IPL_MEMORY_CE_CHECKINGE = 0x0000000000000010,
+ MNFG_FAST_BACKGROUND_SCRUB = 0x0000000000000020,
+ MNFG_TEST_DRAM_REPAIRS = 0x0000000000000040,
+ MNFG_DISABLE_DRAM_REPAIRS = 0x0000000000000080,
+ MNFG_ENABLE_EXHAUSTIVE_PATTERN_TEST = 0x0000000000000100,
+ MNFG_ENABLE_STANDARD_PATTERN_TEST = 0x0000000000000200,
+ MNFG_ENABLE_MINIMUM_PATTERN_TEST = 0x0000000000000400,
+ </enum>
+ <platInit/>
+ </attribute>
+ <attribute>
<id>ATTR_PROC_EPS_TABLE_TYPE</id>
<targetType>TARGET_TYPE_SYSTEM</targetType>
<description>
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml
index e971372b5..0cd0a6c32 100644
--- a/src/usr/targeting/common/xmltohb/attribute_types.xml
+++ b/src/usr/targeting/common/xmltohb/attribute_types.xml
@@ -4607,7 +4607,7 @@ bits6:7 will be consumed together to form COARSE_LVL. </description>
</attribute>
<attribute>
- <id>ATTR_MNFG_FLAGS</id>
+ <id>MNFG_FLAGS</id>
<description> Provides the mnfg flags
in a single value. The bits are
masked together so the single value
@@ -4635,6 +4635,10 @@ bits6:7 will be consumed together to form COARSE_LVL. </description>
<persistency>non-volatile</persistency>
<readable/>
<writeable/>
+ <hwpfToHbAttrMap>
+ <id>ATTR_MNFG_FLAGS</id>
+ <macro>DIRECT</macro>
+ </hwpfToHbAttrMap>
</attribute>
<enumerationType>
diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml
index b9cbaa8d2..48f3f817e 100644
--- a/src/usr/targeting/common/xmltohb/target_types.xml
+++ b/src/usr/targeting/common/xmltohb/target_types.xml
@@ -109,7 +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>
+ <attribute><id>MNFG_FLAGS</id></attribute>
</targetType>
<targetType>
OpenPOWER on IntegriCloud