summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/plat/prdfPlatServices.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/diag/prdf/plat/prdfPlatServices.H')
-rw-r--r--src/usr/diag/prdf/plat/prdfPlatServices.H13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/plat/prdfPlatServices.H b/src/usr/diag/prdf/plat/prdfPlatServices.H
index 9168aab82..325695288 100644
--- a/src/usr/diag/prdf/plat/prdfPlatServices.H
+++ b/src/usr/diag/prdf/plat/prdfPlatServices.H
@@ -102,6 +102,19 @@ uint32_t getScom(TARGETING::TargetHandle_t i_target, BitString& io_bs,
uint32_t putScom(TARGETING::TargetHandle_t i_target, BitString& io_bs,
uint64_t i_address);
+/**
+ * @brief Grabs the SPD record on DIMM target
+ *
+ * @param i_target DIMM target
+ * @param o_data SPD record data (malloc'd memory)
+ * @param o_len length of record
+ *
+ * @return SUCCESS or FAIL
+ */
+uint32_t getSpdData(TARGETING::TargetHandle_t i_target,
+ uint8_t *& o_data,
+ size_t & o_len);
+
//##############################################################################
//## Memory specific functions
//##############################################################################
OpenPOWER on IntegriCloud