diff options
| author | Caleb Palmer <cnpalmer@us.ibm.com> | 2019-01-03 09:17:46 -0600 |
|---|---|---|
| committer | Zane C. Shelley <zshelle@us.ibm.com> | 2019-01-10 09:55:55 -0600 |
| commit | 8c09e8bd73d7f7784dbc22969e5f20c8dc8a4bed (patch) | |
| tree | 569dd35fac7222e9aa686c7140243eb78b3dad63 /src/include | |
| parent | 4ba2815b6b767597b08631ab840401bbe8352173 (diff) | |
| download | talos-hostboot-8c09e8bd73d7f7784dbc22969e5f20c8dc8a4bed.tar.gz talos-hostboot-8c09e8bd73d7f7784dbc22969e5f20c8dc8a4bed.zip | |
Update row repair funcs to be generic
Change-Id: I944ebffad8073d0b5db4a3cc7c12997d21e7bf50
RTC: 201603
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70071
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/usr/fapi2/rowRepairsFuncs.H | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/include/usr/fapi2/rowRepairsFuncs.H b/src/include/usr/fapi2/rowRepairsFuncs.H index 8ad0113ea..373ec3319 100644 --- a/src/include/usr/fapi2/rowRepairsFuncs.H +++ b/src/include/usr/fapi2/rowRepairsFuncs.H @@ -39,7 +39,7 @@ extern "C" * Row Repair Data getter procedure to get the DQ bitmap and returns the data * for the specified rank. * - * @param[in] i_fapiTrgt Reference to MCA/MBA Target + * @param[in] i_fapiTrgt Reference to MCA/MBA/MEM_PORT Target * @param[in] i_dimm MCA/MBA port DIMM number * @param[in] i_rank DIMM rank number * @param[out] o_data Reference to data where Row Repair Data is copied to @@ -48,7 +48,8 @@ extern "C" * @return ReturnCode */ fapi2::ReturnCode getRowRepair( const fapi2::Target - <fapi2::TARGET_TYPE_MCA|fapi2::TARGET_TYPE_MBA> & i_fapiTrgt, + <fapi2::TARGET_TYPE_MCA|fapi2::TARGET_TYPE_MBA|fapi2::TARGET_TYPE_MEM_PORT> + & i_fapiTrgt, const uint8_t i_dimm, const uint8_t i_rank, uint8_t (&o_data)[mss::ROW_REPAIR_BYTE_COUNT], @@ -61,7 +62,7 @@ fapi2::ReturnCode getRowRepair( const fapi2::Target * Row Repair Data setter procedure to set the data * for the specified rank. * - * @param[in] i_fapiTrgt Reference to MCA/MBA Target + * @param[in] i_fapiTrgt Reference to MCA/MBA/MEM_PORT Target * @param[in] i_dimm MCA/MBA port DIMM number * @param[in] i_rank DIMM rank number * @param[out] i_data Reference to data where Row Repair Data is @@ -70,7 +71,8 @@ fapi2::ReturnCode getRowRepair( const fapi2::Target * @return ReturnCode */ fapi2::ReturnCode setRowRepair( const fapi2::Target - <fapi2::TARGET_TYPE_MCA|fapi2::TARGET_TYPE_MBA> & i_fapiTrgt, + <fapi2::TARGET_TYPE_MCA|fapi2::TARGET_TYPE_MBA|fapi2::TARGET_TYPE_MEM_PORT> + & i_fapiTrgt, const uint8_t i_dimm, const uint8_t i_rank, uint8_t (&i_data)[mss::ROW_REPAIR_BYTE_COUNT], |

