bios/sdram: only show read delays when they are valid.
This commit is contained in:
parent
67a2590235
commit
ebe0d567f8
|
@ -508,6 +508,9 @@ static void read_level(int module)
|
||||||
}
|
}
|
||||||
delay_max = delay;
|
delay_max = delay;
|
||||||
|
|
||||||
|
if (delay_min >= ERR_DDRPHY_DELAY)
|
||||||
|
printf("-");
|
||||||
|
else
|
||||||
printf("%02d+-%02d", (delay_min+delay_max)/2, (delay_max-delay_min)/2);
|
printf("%02d+-%02d", (delay_min+delay_max)/2, (delay_max-delay_min)/2);
|
||||||
|
|
||||||
/* Set delay to the middle */
|
/* Set delay to the middle */
|
||||||
|
|
Loading…
Reference in New Issue