Re: [U-Boot] [PATCH 1/2] imx: timer: don't clear the GPT control register multiple times

2017-08-29 Thread Stefano Babic
On 28/08/2017 17:46, Anatolij Gustschin wrote: > There is no need to clear the control register 100 times in a > loop, a single zero write clears the register. I didn't find any > justification why clearing this register in a loop is needed > (no info in i.MX6 errata or GPT timer linux driver, linu

Re: [U-Boot] [PATCH 1/2] imx: timer: don't clear the GPT control register multiple times

2017-08-28 Thread Stefano Babic
On 28/08/2017 17:46, Anatolij Gustschin wrote: > There is no need to clear the control register 100 times in a > loop, a single zero write clears the register. I didn't find any > justification why clearing this register in a loop is needed > (no info in i.MX6 errata or GPT timer linux driver, linu

[U-Boot] [PATCH 1/2] imx: timer: don't clear the GPT control register multiple times

2017-08-28 Thread Anatolij Gustschin
There is no need to clear the control register 100 times in a loop, a single zero write clears the register. I didn't find any justification why clearing this register in a loop is needed (no info in i.MX6 errata or GPT timer linux driver, linux driver uses single write to clear this control regist