summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/hwpf/include/plat/hw_access.H10
-rw-r--r--src/import/hwpf/fapi2/include/fapi2_hw_access.H5
-rw-r--r--src/import/hwpf/fapi2/include/plat/hw_access.H4
3 files changed, 9 insertions, 10 deletions
diff --git a/src/hwpf/include/plat/hw_access.H b/src/hwpf/include/plat/hw_access.H
index 3c6ffb09..fdbca56a 100644
--- a/src/hwpf/include/plat/hw_access.H
+++ b/src/hwpf/include/plat/hw_access.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER sbe Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2016 */
+/* Contributors Listed Below - COPYRIGHT 2012,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -39,8 +39,8 @@
#endif
#include <utils.H>
+#include <p9_ringId.H>
#include <plat_hw_access.H>
-#include <fapi2_hw_access.H>
#include "plat_ring_traverse.H" // for findRS4InImageAndApply
namespace fapi2
@@ -57,14 +57,14 @@ namespace fapi2
/// @brief Sets the PIB error mask - platform dependant
/// @param[in] i_mask The new error mask
- void setPIBErrorMask(uint8_t i_mask)
+ inline void setPIBErrorMask(uint8_t i_mask)
{
PLAT_SET_PIB_ERROR_MASK(i_mask);
}
/// @brief Gets the PIB error mask - platform dependant
/// @return uint8_t The current PIB error mask
- uint8_t getPIBErrorMask(void)
+ inline uint8_t getPIBErrorMask(void)
{
PLAT_GET_PIB_ERROR_MASK(o_pib_mask);
return o_pib_mask;
@@ -288,7 +288,7 @@ __fapi2exit__:
template< TargetType K, typename V >
inline ReturnCode putRing(const Target<K, V>& i_target,
const RingID i_ringID,
- const RingMode i_ringMode)
+ const RingMode i_ringMode = RING_MODE_HEADER_CHECK)
{
ReturnCode l_rc = FAPI2_RC_SUCCESS;
diff --git a/src/import/hwpf/fapi2/include/fapi2_hw_access.H b/src/import/hwpf/fapi2/include/fapi2_hw_access.H
index 07bcd5d0..ca9d70ac 100644
--- a/src/import/hwpf/fapi2/include/fapi2_hw_access.H
+++ b/src/import/hwpf/fapi2/include/fapi2_hw_access.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER sbe Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2016 */
+/* Contributors Listed Below - COPYRIGHT 2015,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -48,7 +48,6 @@
#include <target.H>
#include <hw_access_def.H>
#include <plat_hw_access.H>
-#include <p9_ringId.H>
namespace fapi2
{
@@ -159,7 +158,7 @@ inline ReturnCode modifyCfamRegister(const Target<K, V>& i_target,
/// @return fapi2::ReturnCode. FAPI2_RC_SUCCESS if success, else error code.
template< TargetType K, typename V >
ReturnCode putRing(const Target<K, V>& i_target,
- const RingID i_ringID,
+ const RingId_t i_ringID,
const RingMode i_ringMode = RING_MODE_HEADER_CHECK);
// variable_buffer isn't supported on PPE
diff --git a/src/import/hwpf/fapi2/include/plat/hw_access.H b/src/import/hwpf/fapi2/include/plat/hw_access.H
index 3a4b87b1..bd202809 100644
--- a/src/import/hwpf/fapi2/include/plat/hw_access.H
+++ b/src/import/hwpf/fapi2/include/plat/hw_access.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER sbe Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2016 */
+/* Contributors Listed Below - COPYRIGHT 2015,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -244,7 +244,7 @@ inline ReturnCode modifyCfamRegister(const Target<K, V>& i_target,
/// @return fapi::ReturnCode. FAPI2_RC_SUCCESS if success, else error code.
template< TargetType K, typename V >
ReturnCode putRing(const Target<K, V>& i_target,
- const RingID i_ringID,
+ const RingId_t i_ringID,
const RingMode i_ringMode)
{
std::cout << std::hex << " putRing "
OpenPOWER on IntegriCloud