Re: [PATCH] timer: orion-timer: Fix problem in early_init_done()

2023-01-17 Thread Stefan Roese
On 1/16/23 18:54, Pali Rohár wrote: On Monday 16 January 2023 16:34:45 Stefan Roese wrote: It was noticed that Clearfog is currently broken with this newly introduced early_init_done() function. Apparently the timer is enabled here when U-Boot is run but not configured - at least not correctly.

Re: [PATCH] timer: orion-timer: Fix problem in early_init_done()

2023-01-16 Thread Stefan Roese
Hi Pali, On 1/16/23 18:54, Pali Rohár wrote: On Monday 16 January 2023 16:34:45 Stefan Roese wrote: It was noticed that Clearfog is currently broken with this newly introduced early_init_done() function. Apparently the timer is enabled here when U-Boot is run but not configured - at least not c

Re: [PATCH] timer: orion-timer: Fix problem in early_init_done()

2023-01-16 Thread Pali Rohár
On Monday 16 January 2023 16:34:45 Stefan Roese wrote: > It was noticed that Clearfog is currently broken with this newly > introduced early_init_done() function. Apparently the timer is enabled > here when U-Boot is run but not configured - at least not correctly. > Resulting in a hangup in the ti

[PATCH] timer: orion-timer: Fix problem in early_init_done()

2023-01-16 Thread Stefan Roese
It was noticed that Clearfog is currently broken with this newly introduced early_init_done() function. Apparently the timer is enabled here when U-Boot is run but not configured - at least not correctly. Resulting in a hangup in the timer reading functions. To fix this, also read the value of the