Re: [U-Boot] [PATCH V3] ddr: socfpga: Fix EMIF clear timeout

2019-03-09 Thread Simon Goldschmidt
On 09.03.2019 22:12, Marek Vasut wrote: The current EMIF clear timeout handling code was applying bitwise operations to signed data types and as it was, was extremely hard to read. Replace it with simple wait_for_bit(). Expand the error handling to make it more readable too. This patch also ch

[U-Boot] [PATCH V3] ddr: socfpga: Fix EMIF clear timeout

2019-03-09 Thread Marek Vasut
The current EMIF clear timeout handling code was applying bitwise operations to signed data types and as it was, was extremely hard to read. Replace it with simple wait_for_bit(). Expand the error handling to make it more readable too. This patch also changes the timeout for emif_clear() from 14 h