summaryrefslogtreecommitdiffstats
path: root/import/hwpf/fapi2/include/plat
diff options
context:
space:
mode:
Diffstat (limited to 'import/hwpf/fapi2/include/plat')
-rw-r--r--import/hwpf/fapi2/include/plat/target.H15
1 files changed, 15 insertions, 0 deletions
diff --git a/import/hwpf/fapi2/include/plat/target.H b/import/hwpf/fapi2/include/plat/target.H
index 7e552dfe..ffc88e41 100644
--- a/import/hwpf/fapi2/include/plat/target.H
+++ b/import/hwpf/fapi2/include/plat/target.H
@@ -167,6 +167,21 @@ Target<K, V>::isFunctional(void) const
}
///
+/// @brief Returns the chiplet number associated with the Target
+/// @return The chiplet number for the Target. 0 is returned if the
+/// Target does not have a chiplet number (for ex, the PROC_CHIP Target)
+/// @note For logical targets such as the EX, the chiplet number of
+/// their immediate parent chiplet is returned
+///
+template<TargetType K, typename V>
+inline uint8_t
+Target<K, V>::getChipletNumber(void) const
+{
+ // Platform can return the chiplet number stored in it's Target handle
+ return 0;
+}
+
+///
/// @brief Return the string interpretation of this target
/// @tparam T The type of the target
/// @param[in] i_target Target<T>
OpenPOWER on IntegriCloud