
14 Aug
2017
14 Aug
'17
2:06 a.m.
On Sat, Apr 15, 2017 at 04:11:12PM +0200, xypron.glpk@gmx.de wrote:
((readl(&emif4_base->sdram_iodft_tlgc) & (1<<10)) == 0x01) is always false. This does not match the comment /*Wait till that bit clears*/
The problem was indicated by cppcheck.
I do not have the hardware to test if the code change below leads to a correct system behavior.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot/master, thanks!
--
Tom