Re: [U-Boot] [PATCH] ARM: mxs: spl_boot.c: make early_delay more robust

2019-09-10 Thread Fabio Estevam
[Adding Marek] On Tue, Sep 10, 2019 at 5:32 AM Rasmus Villemoes wrote: > > It's true that booting normally doesn't take long enough for the > register to roll (which actually happens in a little over an hour, not > just a few seconds). However, the counter starts at power-on, and if > the board

[U-Boot] [PATCH] ARM: mxs: spl_boot.c: make early_delay more robust

2019-09-10 Thread Rasmus Villemoes
It's true that booting normally doesn't take long enough for the register to roll (which actually happens in a little over an hour, not just a few seconds). However, the counter starts at power-on, and if the board is held in reset to be booted over USB, one actually risks hitting wrap-around