summaryrefslogtreecommitdiffstats
path: root/src/usr/vpd
diff options
context:
space:
mode:
authorCorey Swenson <cswenson@us.ibm.com>2014-12-11 10:54:55 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-01-09 14:46:40 -0600
commit81acddb9a897637467bcb7a4a85096e91d4e0874 (patch)
treeb81cd31b8884325a467a0cb4e12b45924c48d156 /src/usr/vpd
parent3a7aae4e91f6c19dd42315f7904e50fa7b75e431 (diff)
downloadtalos-hostboot-81acddb9a897637467bcb7a4a85096e91d4e0874.tar.gz
talos-hostboot-81acddb9a897637467bcb7a4a85096e91d4e0874.zip
Add VPD read/write config checking
Change-Id: I09b619df757feedfd7ca4caa95c524543463d0d1 RTC:111417 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14907 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/vpd')
-rw-r--r--src/usr/vpd/HBconfig36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/usr/vpd/HBconfig b/src/usr/vpd/HBconfig
index f0ab90311..f65913121 100644
--- a/src/usr/vpd/HBconfig
+++ b/src/usr/vpd/HBconfig
@@ -10,6 +10,12 @@ config CVPD_READ_FROM_HW
help
Read Centaur VPD data from HW resources
+config CVPD_READ
+ default y
+ depends on CVPD_READ_FROM_PNOR || CVPD_READ_FROM_HW
+ help
+ Ensure at least one of the CVPD READs are enabled
+
config CVPD_WRITE_TO_PNOR
default y if CVPD_READ_FROM_PNOR
depends on CVPD_READ_FROM_PNOR
@@ -22,6 +28,12 @@ config CVPD_WRITE_TO_HW
help
Write Centaur VPD data to HW resources
+config CVPD_WRITE
+ default y
+ depends on CVPD_WRITE_TO_PNOR || CVPD_WRITE_TO_HW
+ help
+ Ensure at least one of the CVPD WRITEs are enabled
+
config MVPD_READ_FROM_PNOR
default y
help
@@ -32,6 +44,12 @@ config MVPD_READ_FROM_HW
help
Read Module VPD data from HW resources
+config MVPD_READ
+ default y
+ depends on MVPD_READ_FROM_PNOR || MVPD_READ_FROM_HW
+ help
+ Ensure at least one of the MVPD READs are enabled
+
config MVPD_WRITE_TO_PNOR
default y if MVPD_READ_FROM_PNOR
help
@@ -43,6 +61,12 @@ config MVPD_WRITE_TO_HW
help
Write Module VPD data to HW resources
+config MVPD_WRITE
+ default y
+ depends on MVPD_WRITE_TO_PNOR || MVPD_WRITE_TO_HW
+ help
+ Ensure at least one of the MVPD WRITEs are enabled
+
config DJVPD_READ_FROM_PNOR
default y
help
@@ -53,6 +77,12 @@ config DJVPD_READ_FROM_HW
help
Read Dimm JEDEC VPD/SPD data from HW resources
+config DJVPD_READ
+ default y
+ depends on DJVPD_READ_FROM_PNOR || DJVPD_READ_FROM_HW
+ help
+ Ensure at least one of the DJVPD READs are enabled
+
config DJVPD_WRITE_TO_PNOR
default y if DJVPD_READ_FROM_PNOR
help
@@ -64,6 +94,12 @@ config DJVPD_WRITE_TO_HW
help
Write Dimm JEDEC VPD/SPD data to HW resources
+config DJVPD_WRITE
+ default y
+ depends on DJVPD_WRITE_TO_PNOR || DJVPD_WRITE_TO_HW
+ help
+ Ensure at least one of the DJVPD WRITEs are enabled
+
config HAVE_MBVPD
default y if CVPD_READ_FROM_PNOR || CVPD_READ_FROM_HW
depends on CVPD_READ_FROM_PNOR || CVPD_READ_FROM_HW
OpenPOWER on IntegriCloud