commit | 7f9e879568ae5c4d369fcd96b6df38f8936b4fa5 | [log] [tgz] |
---|---|---|
author | Eugen Hristev <eugen.hristev@microchip.com> | Fri Aug 03 12:10:49 2018 +0300 |
committer | Tom Rini <trini@konsulko.com> | Mon Aug 13 14:03:57 2018 -0400 |
tree | d16c36696f4b17b418ead404bd8c5358f9087b15 | |
parent | 4fd0540b616b943780ff482f6894f8a322b4f26b [diff] |
clk: at91: utmi: add timeout for utmi lock In case the slow clock is not properly configured, the UTMI clock cannot lock the PLL, because UPLLCOUNT will "wait X slow clock cycles". In this case U-boot will loop indefinitely. Added a timeout in this case, to start U-boot even if UTMI clock is not enabled, so the user can use different media if needed, or investigate. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>