summaryrefslogtreecommitdiffstats
path: root/src/hwpf/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/hwpf/include')
-rw-r--r--src/hwpf/include/plat/plat_hw_access.H14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/hwpf/include/plat/plat_hw_access.H b/src/hwpf/include/plat/plat_hw_access.H
index cd0078f9..23637c10 100644
--- a/src/hwpf/include/plat/plat_hw_access.H
+++ b/src/hwpf/include/plat/plat_hw_access.H
@@ -140,22 +140,24 @@ namespace fapi2
///
/// @brief Platform wrapper over PK getscom_abs
///
- /// @param [in] i_addr The SCOM address
+ /// @param [in] i_addr The SCOM address
/// @param [out] o_data The data read
///
- /// @return PCB-PIB return code
+ /// @return fapi::ReturnCode. FAPI2_RC_SUCCESS if success, else error code.
///
- uint32_t getscom_abs_wrap(const void *i_target, const uint32_t i_addr, uint64_t *o_data);
+ fapi2::ReturnCode getscom_abs_wrap(const void *i_target,
+ const uint32_t i_addr, uint64_t *o_data);
///
/// @brief Platform wrapper over PK putscom_abs
///
/// @param [in] i_addr The SCOM address
- /// @param [in] i_data The data read
+ /// @param [in] i_data The data to write
///
- /// @return PCB-PIB return code
+ /// @return fapi::ReturnCode. FAPI2_RC_SUCCESS if success, else error code.
///
- uint32_t putscom_abs_wrap(const void *i_target, const uint32_t i_addr, uint64_t i_data);
+ fapi2::ReturnCode putscom_abs_wrap(const void *i_target,
+ const uint32_t i_addr, uint64_t i_data);
///
/// @brief Platform wrapper to retry scom for parity/timeout errors
OpenPOWER on IntegriCloud