dptx: Iterate on max voltage swing during training.
Required for compliance. Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
parent
94cf07d9a9
commit
57cd141001
1 changed files with 0 additions and 12 deletions
|
@ -1365,12 +1365,6 @@ static XDptx_TrainingState XDptx_TrainingStateClockRecovery(XDptx *InstancePtr)
|
||||||
return XDPTX_TS_CHANNEL_EQUALIZATION;
|
return XDPTX_TS_CHANNEL_EQUALIZATION;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check if training has tried, and failed, with the maximum
|
|
||||||
* voltage swing. */
|
|
||||||
if (LinkConfig->VsLevel == XDPTX_MAXIMUM_VS_LEVEL) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Check if the same voltage swing for each lane has been used 5
|
/* Check if the same voltage swing for each lane has been used 5
|
||||||
* consecutive times. */
|
* consecutive times. */
|
||||||
if (PrevVsLevel == LinkConfig->VsLevel) {
|
if (PrevVsLevel == LinkConfig->VsLevel) {
|
||||||
|
@ -1496,12 +1490,6 @@ static XDptx_TrainingState XDptx_TrainingStateChannelEqualization(
|
||||||
return XDPTX_TS_SUCCESS;
|
return XDPTX_TS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check if training has tried, and failed, with the maximum
|
|
||||||
* voltage swing. */
|
|
||||||
if (LinkConfig->VsLevel == XDPTX_MAXIMUM_VS_LEVEL) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Check if the same voltage swing for each lane has been used 5
|
/* Check if the same voltage swing for each lane has been used 5
|
||||||
* consecutive times. */
|
* consecutive times. */
|
||||||
if (PrevVsLevel == LinkConfig->VsLevel) {
|
if (PrevVsLevel == LinkConfig->VsLevel) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue