commit | b730ff3fd65c8d1c33f1c05ca3fbab579a86abb4 | [log] [tgz] |
---|---|---|
author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | Sat Apr 15 16:11:12 2017 +0200 |
committer | Tom Rini <trini@konsulko.com> | Sat Aug 12 19:17:20 2017 -0400 |
tree | dfff16d78d38ee0d4e66fab6b4ea85790c57c4fa | |
parent | da0227f7d2568c0cb0e435ed3caf780f9846d9a0 [diff] |
omap3: incorrect logical check in do_emif4_init ((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>