aboutsummaryrefslogtreecommitdiff
path: root/hw/npu2-hw-procedures.c
diff options
context:
space:
mode:
authorReza Arbab <arbab@linux.vnet.ibm.com>2017-08-30 17:38:25 -0500
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-09-04 20:45:35 -0500
commita5ea14765547ed2af7536ead95a4b27140257dad (patch)
treea4bb671897f6e2c7785f2dc11b8eb04c42f37eb8 /hw/npu2-hw-procedures.c
parentc6e9156379643afc45bef776b5a69b6e46b3dad1 (diff)
downloadskiboot-a5ea14765547ed2af7536ead95a4b27140257dad.zip
skiboot-a5ea14765547ed2af7536ead95a4b27140257dad.tar.gz
skiboot-a5ea14765547ed2af7536ead95a4b27140257dad.tar.bz2
npu2: hw-procedures: Add comments denoting procedure number
There are comments in this file to indicate where each numbered procedure from the programming guide is implemented, for easy searching. Add a couple which were missing. Signed-off-by: Reza Arbab <arbab@linux.vnet.ibm.com> Acked-By: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/npu2-hw-procedures.c')
-rw-r--r--hw/npu2-hw-procedures.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/npu2-hw-procedures.c b/hw/npu2-hw-procedures.c
index c9e7673..ac5c919 100644
--- a/hw/npu2-hw-procedures.c
+++ b/hw/npu2-hw-procedures.c
@@ -312,6 +312,7 @@ static uint32_t phy_reset_complete(struct npu2_dev *ndev)
}
DEFINE_PROCEDURE(phy_reset, phy_reset_wait, phy_reset_complete);
+/* Procedure 1.2.6 - I/O PHY Tx Impedance Calibration */
static uint32_t phy_tx_zcal(struct npu2_dev *ndev)
{
if (ndev->npu->tx_zcal_complete[ndev->index > 2])
@@ -502,6 +503,7 @@ static uint32_t phy_enable_tx_rxcal(struct npu2_dev *ndev)
}
DEFINE_PROCEDURE(phy_enable_tx_rxcal);
+/* Procedure 1.2.9 - Disable Downstream Link Training */
static uint32_t phy_disable_tx_rxcal(struct npu2_dev *ndev)
{
int lane;