u-boot-brain/arch/arm/mach-omap2/omap3
xypron.glpk@gmx.de b730ff3fd6 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>
2017-08-12 19:17:20 -04:00
..
am35x_musb.c drivers: usb: musb: adopt musb backend driver to driver model 2016-12-02 21:04:48 -07:00
board.c arm: omap3: Detect boot mode very early 2017-07-23 09:24:47 -04:00
boot.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
clock.c Configs: Migrate CONFIG_SYS_I2C_OMAP34XX to CONFIG_SYS_I2C_OMAP24XX 2017-08-09 06:14:13 +02:00
emac.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
emif4.c omap3: incorrect logical check in do_emif4_init 2017-08-12 19:17:20 -04:00
hw_data.c arm: omap: Unify get_device_type() function 2017-06-09 20:34:53 -04:00
Kconfig omap3: Migrate CONFIG_OMAP3_GPIO_X to Kconfig 2017-05-15 10:40:00 -04:00
lowlevel_init.S arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
Makefile arm: omap: Unify get_device_type() function 2017-06-09 20:34:53 -04:00
prcm-regs.c arm: omap: Unify get_device_type() function 2017-06-09 20:34:53 -04:00
sdrc.c board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
spl_id_nand.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
sys_info.c arm: omap: Unify get_device_type() function 2017-06-09 20:34:53 -04:00