Description
The Max delay time of the “udelay” function depends on HPS OSC1 input clock.
For example:
25MHz -> 171798us
50MHz -> 85899us
Resolution
To workaround this behavior the “mdelay” function can be used for cases of over 172ms(25MHz).
See U-Boot documentation for more details on the mdelay function.