summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/plat/prdfPlatServices_ipl.H
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2018-03-31 16:00:01 -0500
committerZane C. Shelley <zshelle@us.ibm.com>2018-04-10 11:08:15 -0400
commitad8ec727bc7f5c641c92e274829cc89f6e0e7f1f (patch)
tree1ba39fdf37798917dbfca71deee595b2ac746d26 /src/usr/diag/prdf/plat/prdfPlatServices_ipl.H
parent58b9dd72866a2eed96e74b92b732443b59376571 (diff)
downloadtalos-hostboot-ad8ec727bc7f5c641c92e274829cc89f6e0e7f1f.tar.gz
talos-hostboot-ad8ec727bc7f5c641c92e274829cc89f6e0e7f1f.zip
PRD: super fast read command support for MBA
Change-Id: Ie7cf3910e177056bdabf68ee6d0e66f8ec130b7d RTC: 190428 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56551 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56890 CI-Ready: Zane C. Shelley <zshelle@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: Zane C. Shelley <zshelle@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/plat/prdfPlatServices_ipl.H')
-rw-r--r--src/usr/diag/prdf/plat/prdfPlatServices_ipl.H11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/usr/diag/prdf/plat/prdfPlatServices_ipl.H b/src/usr/diag/prdf/plat/prdfPlatServices_ipl.H
index 5455cd598..5c7a57772 100644
--- a/src/usr/diag/prdf/plat/prdfPlatServices_ipl.H
+++ b/src/usr/diag/prdf/plat/prdfPlatServices_ipl.H
@@ -114,7 +114,7 @@ bool isBroadcastModeCapable( ExtensibleChip * i_chip );
/**
* @brief Starts a super fast read command from the first address of the given
* rank to the end of memory.
- * @param i_chip MCA or MBA chip.
+ * @param i_chip MCBIST/MCA or MBA chip.
* @param i_rank Will start the command on the first address of this slave
* rank. To ensure the command is started on a master rank boundary,
* make sure the slave rank value is 0.
@@ -123,6 +123,15 @@ bool isBroadcastModeCapable( ExtensibleChip * i_chip );
template<TARGETING::TYPE T>
uint32_t startSfRead( ExtensibleChip * i_chip, const MemRank & i_rank );
+/**
+ * @brief If necessary, this will do the necessary cleanup for the superfast
+ * command when the command is complete.
+ * @param i_chip MCBIST or MBA chip.
+ * @return Non-SUCCESS if an internal function fails, otherwise SUCCESS.
+ */
+template<TARGETING::TYPE T>
+uint32_t cleanupSfRead( ExtensibleChip * i_chip );
+
} // end namespace PlatServices
} // end namespace PRDF
OpenPOWER on IntegriCloud