mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
arm: dra7xx: Hang on any failure during IOdelay recalibration
If there is any failure during IOdelay recalibration sequence, IOs are not guaranteed to behave as expected. So hang on any failure during the sequence. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
This commit is contained in:
parent
60e3d43a26
commit
5c6e497eaa
@ -241,6 +241,12 @@ void __recalibrate_iodelay_end(int ret)
|
||||
debug("IODELAY: IO delay recalibration successfully completed\n");
|
||||
}
|
||||
|
||||
/* If there is an error during iodelay recalibration, SoC is in a bad
|
||||
* state. Do not progress any further.
|
||||
*/
|
||||
if (ret)
|
||||
hang();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user