From 57cd1410018064fc44c5c69f07401dff94801eaf Mon Sep 17 00:00:00 2001 From: Andrei-Liviu Simion Date: Mon, 28 Jul 2014 17:17:19 -0700 Subject: [PATCH] dptx: Iterate on max voltage swing during training. Required for compliance. Signed-off-by: Andrei-Liviu Simion --- XilinxProcessorIPLib/drivers/dptx/src/xdptx.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/XilinxProcessorIPLib/drivers/dptx/src/xdptx.c b/XilinxProcessorIPLib/drivers/dptx/src/xdptx.c index e8663b9d..f4a38726 100644 --- a/XilinxProcessorIPLib/drivers/dptx/src/xdptx.c +++ b/XilinxProcessorIPLib/drivers/dptx/src/xdptx.c @@ -1365,12 +1365,6 @@ static XDptx_TrainingState XDptx_TrainingStateClockRecovery(XDptx *InstancePtr) 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 * consecutive times. */ if (PrevVsLevel == LinkConfig->VsLevel) { @@ -1496,12 +1490,6 @@ static XDptx_TrainingState XDptx_TrainingStateChannelEqualization( 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 * consecutive times. */ if (PrevVsLevel == LinkConfig->VsLevel) {