diff options
author | Matt K. Light <mklight@us.ibm.com> | 2016-05-18 23:41:56 -0500 |
---|---|---|
committer | Prachi Gupta <pragupta@us.ibm.com> | 2016-06-08 11:45:53 -0500 |
commit | 3721c07755f2c1e7de731584e06fdda263d60d15 (patch) | |
tree | dbbfc50c05751ce628f6442b1635b9bbf497d987 /import/hwpf | |
parent | 82f0dfad4b57c9bab4e6ffc3726ba0e3acaeac84 (diff) | |
download | talos-sbe-3721c07755f2c1e7de731584e06fdda263d60d15.tar.gz talos-sbe-3721c07755f2c1e7de731584e06fdda263d60d15.zip |
remove old Target::getOtherEnd() method
Change-Id: I8fc759b33cbc20dbbe1d569b202a59e8258fe394
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24760
Tested-by: Jenkins Server
Tested-by: PPE CI
Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
Tested-by: Hostboot CI
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24761
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'import/hwpf')
-rw-r--r-- | import/hwpf/fapi2/include/fapi2_target.H | 11 | ||||
-rw-r--r-- | import/hwpf/fapi2/include/plat/target.H | 18 |
2 files changed, 0 insertions, 29 deletions
diff --git a/import/hwpf/fapi2/include/fapi2_target.H b/import/hwpf/fapi2/include/fapi2_target.H index a0ce0d1c..f3249376 100644 --- a/import/hwpf/fapi2/include/fapi2_target.H +++ b/import/hwpf/fapi2/include/fapi2_target.H @@ -286,17 +286,6 @@ class Target const TargetState i_state = TARGET_STATE_FUNCTIONAL) const; /// - /// @brief Get the target at the other end of a bus - dimm included - /// @tparam T The type of the parent - /// @param[in] i_state The desired TargetState of the children - /// @return Target<T> a target representing the thing on the other end - /// @note Can be easily changed to a vector if needed - /// - template<TargetType T> - inline Target<T> - getOtherEnd(const TargetState i_state = TARGET_STATE_FUNCTIONAL) const; - - /// /// @brief Get the target at the other end of a bus /// @tparam T The type of the target on the other end /// @param[out] o_target A target representing the thing on the other end diff --git a/import/hwpf/fapi2/include/plat/target.H b/import/hwpf/fapi2/include/plat/target.H index 4d0c203f..7e552dfe 100644 --- a/import/hwpf/fapi2/include/plat/target.H +++ b/import/hwpf/fapi2/include/plat/target.H @@ -130,24 +130,6 @@ Target<TARGET_TYPE_PERV>::getChildren(const TargetFilter i_filter, } /// -/// @brief Get the target at the other end of a bus - dimm included -/// @tparam T The type of the parent -/// @param[in] i_state The desired TargetState of the children -/// @return Target<T> a target representing the thing on the other end -/// @note Can be easily changed to a vector if needed -/// -template<TargetType K, typename V> -template<TargetType T> -inline Target<T> -Target<K, V>::getOtherEnd(const TargetState i_state) const -{ - // Implementation note: cast to a composite of - // bus types and the compiler will check if this is - // a good function at compile time - return Target<T>(); -} - -/// /// @brief Get the target at the other end of a bus /// @tparam T The type of the target on the other end /// @param[out] o_target A target representing the thing on the other end |