From: Tom Rini Date: Sun, 13 Aug 2017 20:06:42 -0400 Subject: [U-Boot] [U-Boot, RFC, 1/1] omap3: incorrect logical check in do_emif4_init In-Reply-To: <20170415141112.27145-1-xypron.glpk@gmx.de> References: <20170415141112.27145-1-xypron.glpk@gmx.de> Message-ID: <20170814000642.GV20467@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Apr 15, 2017 at 04:11:12PM +0200, xypron.glpk at 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 > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: