dp: tx: When downshifting during link training, always issue training pattern 0.
For compliance purposes, training pattern 0 needs to be sent between downshifting of lane count and link rates. Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
parent
45e5fabd1b
commit
a36b777a40
1 changed files with 8 additions and 0 deletions
|
@ -1964,6 +1964,14 @@ static u32 XDp_TxRunTraining(XDp *InstancePtr)
|
|||
(TrainingState == XDP_TX_TS_ADJUST_LINK_RATE))) {
|
||||
return XST_FAILURE;
|
||||
}
|
||||
if ((TrainingState == XDP_TX_TS_ADJUST_LINK_RATE) ||
|
||||
(TrainingState == XDP_TX_TS_ADJUST_LANE_COUNT)) {
|
||||
Status = XDp_TxSetTrainingPattern(InstancePtr,
|
||||
XDP_TX_TRAINING_PATTERN_SET_OFF);
|
||||
if (Status != XST_SUCCESS) {
|
||||
return XST_FAILURE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Final status check. */
|
||||
|
|
Loading…
Add table
Reference in a new issue