summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwpf
diff options
context:
space:
mode:
authorBill Schwartz <whs@us.ibm.com>2015-02-17 08:24:11 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-02-24 16:21:33 -0600
commite56b9afb738e9aea6af2589fd1f56d3d2ba77f5d (patch)
tree4a945adcfe5fc5b59a97b845f800e2ef3f10fd14 /src/include/usr/hwpf
parent9a3694c400f8c50da58459d0fbd91e3dc7a2ef28 (diff)
downloadblackbird-hostboot-e56b9afb738e9aea6af2589fd1f56d3d2ba77f5d.tar.gz
blackbird-hostboot-e56b9afb738e9aea6af2589fd1f56d3d2ba77f5d.zip
Support VD keyword for ISDIMM VPD format
For ISDIMMs, check for VD in SPDX, if no VD, fall back to VINI VZ. For CDIMMs, check for VD in VSPD, if no VD, fall back to VINI VZ. Change-Id: Ib2a299bac7dae661a77664b9ad5e4419fdff5c01 RTC: 122881 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15806 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwpf')
-rw-r--r--src/include/usr/hwpf/hwp/mvpd_accessors/getMBvpdAttr.H27
1 files changed, 19 insertions, 8 deletions
diff --git a/src/include/usr/hwpf/hwp/mvpd_accessors/getMBvpdAttr.H b/src/include/usr/hwpf/hwp/mvpd_accessors/getMBvpdAttr.H
index b9b4c3054..07ea5fc99 100644
--- a/src/include/usr/hwpf/hwp/mvpd_accessors/getMBvpdAttr.H
+++ b/src/include/usr/hwpf/hwp/mvpd_accessors/getMBvpdAttr.H
@@ -22,7 +22,7 @@
/* permissions and limitations under the License. */
/* */
/* IBM_PROLOG_END_TAG */
-// $Id: getMBvpdAttr.H,v 1.1 2014/12/11 13:38:54 whs Exp $
+// $Id: getMBvpdAttr.H,v 1.2 2015/02/24 19:22:26 whs Exp $
/**
* @file getMBvpdAttr.H
@@ -68,18 +68,29 @@ namespace getAttrData
// DIMM types
enum DimmType
{
- ALL_DIMM, // Same for all Dimm types
- CDIMM,
- ISDIMM,
+ ALL_DIMM = 0, // Same for all Dimm types
+ CDIMM = 1,
+ ISDIMM = 2,
};
// Versions to check for
enum VpdVersion
{
- ALL_VER=0, // Same for all versions
- VBASE=1, // Use this before any other defined versions
- V10=0x3130, // Version 6.0 is ascii "10"
- V13=0x3133, // Version 6.3 is ascii "13"
+ VD_VER = 0x010000, // Version came from VD keyword
+ VZ_VER = 0x020000, // Version came from VZ keyword
+ ALL_VD = VD_VER, // Base value for VD keyword (version=0)
+ ALL_VZ = VZ_VER, // Base value for VZ keyword (version=0)
+ ALL_VER = VD_VER|VZ_VER, // Base value for all versions
+
+ // VZ values
+ VZ_10 = VZ_VER | 0x3130, // Version 6.0 is ascii "10"
+ VZ_13 = VZ_VER | 0x3133, // Version 6.3 is ascii "13"
+
+ // VD values
+ VD_01 = VD_VER | 0x3031, // VD version "01"
+
+ VER_MASK= 0xffff, // Just version
+ INVALID_VER = 0, // Invalid initialization value
};
// Output data types
OpenPOWER on IntegriCloud