summaryrefslogtreecommitdiffstats
path: root/src/import/hwpf/fapi2/src
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2018-10-26 14:08:24 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2018-11-15 10:12:08 -0600
commite0373c9878e6ece88c090a0d2cad3beedd858198 (patch)
treea27a80d7eaf5b153aa2a40651c379ab754791c41 /src/import/hwpf/fapi2/src
parent9e552af485f38d49a676828313d9d780f53d2645 (diff)
downloadtalos-hostboot-e0373c9878e6ece88c090a0d2cad3beedd858198.tar.gz
talos-hostboot-e0373c9878e6ece88c090a0d2cad3beedd858198.zip
Add Axone targets to fapi error utilities
Added a few constants and case statements to cover the Axone targets in the convertSbeTargInstanceToFapiPos path. Change-Id: I38937f37bec051f279f837c48a7e5ce013bb23d8 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68071 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68080 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>
Diffstat (limited to 'src/import/hwpf/fapi2/src')
-rw-r--r--src/import/hwpf/fapi2/src/fapi2_utils.C36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/import/hwpf/fapi2/src/fapi2_utils.C b/src/import/hwpf/fapi2/src/fapi2_utils.C
index f1124d508..e00f9a56f 100644
--- a/src/import/hwpf/fapi2/src/fapi2_utils.C
+++ b/src/import/hwpf/fapi2/src/fapi2_utils.C
@@ -154,6 +154,42 @@ uint16_t convertSbeTargInstanceToFapiPos(fapi2::TargetType i_targType,
break;
}
+ case TARGET_TYPE_OBUS:
+ {
+ max_targets = MAX_OBUS_PER_PROC;
+ break;
+ }
+
+ case TARGET_TYPE_PEC:
+ {
+ max_targets = MAX_PEC_PER_PROC;
+ break;
+ }
+
+ case TARGET_TYPE_OMI:
+ {
+ max_targets = MAX_OMI_PER_PROC;
+ break;
+ }
+
+ case TARGET_TYPE_OMIC:
+ {
+ max_targets = MAX_OMIC_PER_PROC;
+ break;
+ }
+
+ case TARGET_TYPE_MCC:
+ {
+ max_targets = MAX_MCC_PER_PROC;
+ break;
+ }
+
+ case TARGET_TYPE_OCMB_CHIP:
+ {
+ max_targets = MAX_OCMB_CHIP_PER_PROC;
+ break;
+ }
+
default:
max_targets = INVALID_TARGET_COUNT;
break;
OpenPOWER on IntegriCloud