summaryrefslogtreecommitdiffstats
path: root/src/usr/vpd
diff options
context:
space:
mode:
authorDonald Washburn <dwashbur@us.ibm.com>2017-09-11 13:58:25 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-11-01 17:07:12 -0400
commit621ab58f2f538157abc992f1f490ae0a927ed0cc (patch)
tree27c8fcc3e968dd52fa9f1ae7d0ca51836bb07cee /src/usr/vpd
parent5e731ccc76d458e752e465471e27a40dd6011e5b (diff)
downloadtalos-hostboot-621ab58f2f538157abc992f1f490ae0a927ed0cc.tar.gz
talos-hostboot-621ab58f2f538157abc992f1f490ae0a927ed0cc.zip
Integration of hardware vpd accessor functions into Hostboot.
*Created macros and platform functions to invoke vpd accessor functions for reading attributes from Hostboot. *Create a unit test for calling each attribute accessor macro. RTC: 178950 Change-Id: Ia74406eabcdff238f6bbc4bd8dc43715ebfcd643 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48185 Tested-by: Jenkins Server <pfd-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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/vpd')
-rw-r--r--src/usr/vpd/HBconfig2
-rw-r--r--src/usr/vpd/makefile10
2 files changed, 10 insertions, 2 deletions
diff --git a/src/usr/vpd/HBconfig b/src/usr/vpd/HBconfig
index 49d846757..131f9cd74 100644
--- a/src/usr/vpd/HBconfig
+++ b/src/usr/vpd/HBconfig
@@ -138,6 +138,6 @@ config PALMETTO_PASS1
Palmetto pass1 specific changes
config CDIMM_FORMAT_FOR_CVPD
- default y
+ default n
help
Assume Custom DIMM VPD layout for CVPD
diff --git a/src/usr/vpd/makefile b/src/usr/vpd/makefile
index a559b1841..4e0de0709 100644
--- a/src/usr/vpd/makefile
+++ b/src/usr/vpd/makefile
@@ -25,6 +25,9 @@
ROOTPATH = ../../..
MODULE = vpd
+#include configuration defines
+include $(ROOTPATH)/obj/genfiles/config.mk
+
#include common objects between hb and runtime
include vpd.mk
@@ -51,9 +54,14 @@ BINARY_FILES += $(IMGDIR)/vpo_djvpd.dat:eb4dce98f19ebfe77243be1c56d3d0eaa1889d90
BINARY_FILES += $(IMGDIR)/procmvpd_p9n.dat:a351f3cd5ba8a81a50c3e5a0dea5fea03e55769d
BINARY_FILES += $(IMGDIR)/procmvpd_p9c.dat:423208204c2f0e759610f4f39243362fd4b6d103
-
#Update to Centaur DD2.0 for CCIN 31E8
+ifdef CONFIG_CDIMM_FORMAT_FOR_CVPD
+#download 4k cvpd file
BINARY_FILES += $(IMGDIR)/cvpd.dat:2e33352ca95279b992927336567adf960dca7d46
+else
+#download 8k cvpd file
+BINARY_FILES += $(IMGDIR)/cvpd.dat:af41c35b5a10f309f2519a871204936a2129e5ea
+endif
#Direct memory vpd
BINARY_FILES += $(IMGDIR)/dvpd.dat:9292032f653710f92bbeb56b39582b2d0e5296b7
OpenPOWER on IntegriCloud