summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting
diff options
context:
space:
mode:
authorJoe McGill <jmcgill@us.ibm.com>2016-12-01 19:27:43 -0600
committerChristian R. Geddes <crgeddes@us.ibm.com>2016-12-14 15:36:57 -0500
commitc016c67ab2a6389a51ffbbef171abb9faf81e0e4 (patch)
tree5b3d70f7e483f2e8d5b9ebc1eb3d8a1dfdeb934e /src/usr/targeting
parent6caf5ee268faff5e506d8bdf3e90211f1e266414 (diff)
downloadtalos-hostboot-c016c67ab2a6389a51ffbbef171abb9faf81e0e4.tar.gz
talos-hostboot-c016c67ab2a6389a51ffbbef171abb9faf81e0e4.zip
p9_xip_customize_attributes -- define attribute to reflect max SBE image size
Change-Id: I1064dc157bd14460af4ca77aa23c4c65c11bcfc8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33288 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Kahn C. Evans <kahnevan@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33289 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/usr/targeting')
-rw-r--r--src/usr/targeting/common/xmltohb/attribute_types.xml25
-rwxr-xr-xsrc/usr/targeting/common/xmltohb/target_types.xml1
2 files changed, 26 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml
index fa303fc1e..fe56509fb 100644
--- a/src/usr/targeting/common/xmltohb/attribute_types.xml
+++ b/src/usr/targeting/common/xmltohb/attribute_types.xml
@@ -32379,4 +32379,29 @@ Measured in GB</description>
<readable/>
</attribute>
+<attribute>
+ <id>MAX_SBE_SEEPROM_SIZE</id>
+ <description>
+ Defines the maximum Seeprom storage size for the fully-customized SBE image
+ permitted by the platform.
+ For platforms (FSP/HB FW) which require the image to be constrained into a
+ physical storage device (SEEPROM), this should reflect the maximum size of that
+ memory (e.g., 256KB).
+ For platforms (Cronus) which may use a customized image in a virtual
+ envrionment with no physical storage constraints, this size may be
+ larger than the physical SEEPROM size.
+ </description>
+ <simpleType>
+ <uint32_t>
+ <default>0x40000</default>
+ </uint32_t>
+ </simpleType>
+ <persistency>non-volatile</persistency>
+ <readable/>
+ <hwpfToHbAttrMap>
+ <id>ATTR_MAX_SBE_SEEPROM_SIZE</id>
+ <macro>DIRECT</macro>
+ </hwpfToHbAttrMap>
+</attribute>
+
</attributes>
diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml
index d85e78568..83dc0ad6e 100755
--- a/src/usr/targeting/common/xmltohb/target_types.xml
+++ b/src/usr/targeting/common/xmltohb/target_types.xml
@@ -872,6 +872,7 @@
<attribute><id>SYSTEM_TYPE</id></attribute>
<attribute><id>MSS_CAL_ABORT_ON_ERROR</id></attribute>
<attribute><id>SBE_IMAGE_MINIMUM_VALID_ECS</id></attribute>
+ <attribute><id>MAX_SBE_SEEPROM_SIZE</id></attribute>
<attribute><id>SBE_SYS_CONFIG</id></attribute>
<attribute><id>CP_REFCLOCK_RCVR_TERM</id></attribute>
<attribute><id>IO_REFCLOCK_RCVR_TERM</id></attribute>
OpenPOWER on IntegriCloud