diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2018-11-06 15:52:36 -0600 |
---|---|---|
committer | Nicholas E. Bofferding <bofferdn@us.ibm.com> | 2018-12-13 18:18:52 -0600 |
commit | 552d96423109ce112513f493edd286f708d9df19 (patch) | |
tree | c9a36b2a725d638fbe8a2128f374a9455b99b878 /src/usr/targeting | |
parent | 1851aa0056c54576d3b328f7b1c9070262857eb0 (diff) | |
download | talos-hostboot-552d96423109ce112513f493edd286f708d9df19.tar.gz talos-hostboot-552d96423109ce112513f493edd286f708d9df19.zip |
Hack to force OCMB presence detection
Temporary code that assumes the OCMB is present if the target is
in the model. Also adds a check to throw an error instead of
crashing if VPD_REC_NUM isn't set.
Change-Id: Iba87d13093f0044bdf28a10621561e02d10faaf6
RTC: 196805
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68488
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Diffstat (limited to 'src/usr/targeting')
-rw-r--r-- | src/usr/targeting/common/xmltohb/target_types.xml | 87 |
1 files changed, 24 insertions, 63 deletions
diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml index 9e8bc0bf8..f5636ba4f 100644 --- a/src/usr/targeting/common/xmltohb/target_types.xml +++ b/src/usr/targeting/common/xmltohb/target_types.xml @@ -377,6 +377,9 @@ <default>OCMB_CHIP</default> <id>TYPE</id> </attribute> + <attribute> + <id>VPD_REC_NUM</id> + </attribute> </targetType> <!-- Explorer OCMB --> @@ -397,6 +400,27 @@ <value>0</value> </field> <field> + <id>supportsFsiScom</id> + <value>0</value> + </field> + <field> + <id>supportsInbandScom</id> + <value>0</value> + </field> + <field> + <id>supportsXscom</id> + <value>0</value> + </field> + </default> + <id>PRIMARY_CAPABILITIES</id> + </attribute> + <attribute> + <default> + <field> + <id>reserved</id> + <value>0</value> + </field> + <field> <id>useFsiScom</id> <value>0</value> </field> @@ -1594,27 +1618,6 @@ <id>PRD_HWP_PLID</id> </attribute> <attribute> - <default> - <field> - <id>reserved</id> - <value>0</value> - </field> - <field> - <id>supportsFsiScom</id> - <value>1</value> - </field> - <field> - <id>supportsInbandScom</id> - <value>0</value> - </field> - <field> - <id>supportsXscom</id> - <value>1</value> - </field> - </default> - <id>PRIMARY_CAPABILITIES</id> - </attribute> - <attribute> <id>REL_POS</id> </attribute> </targetType> @@ -1668,27 +1671,6 @@ <id>PARENT_PERVASIVE</id> </attribute> <attribute> - <default> - <field> - <id>reserved</id> - <value>0</value> - </field> - <field> - <id>supportsFsiScom</id> - <value>0</value> - </field> - <field> - <id>supportsInbandScom</id> - <value>0</value> - </field> - <field> - <id>supportsXscom</id> - <value>0</value> - </field> - </default> - <id>PRIMARY_CAPABILITIES</id> - </attribute> - <attribute> <default>CAPP</default> <id>TYPE</id> </attribute> @@ -2250,27 +2232,6 @@ <id>HWAS_STATE_CHANGED_SUBSCRIPTION_MASK</id> </attribute> <attribute> - <default> - <field> - <id>reserved</id> - <value>0</value> - </field> - <field> - <id>supportsFsiScom</id> - <value>0</value> - </field> - <field> - <id>supportsInbandScom</id> - <value>0</value> - </field> - <field> - <id>supportsXscom</id> - <value>0</value> - </field> - </default> - <id>PRIMARY_CAPABILITIES</id> - </attribute> - <attribute> <default>NX</default> <id>TYPE</id> </attribute> |