]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: vf610: ddrmc: fix initialization completion detection
authorStefan Agner <stefan.agner@toradex.com>
Tue, 4 Dec 2018 10:10:20 +0000 (11:10 +0100)
committerStefano Babic <sbabic@denx.de>
Wed, 9 Jan 2019 15:27:23 +0000 (16:27 +0100)
commit334db9ebf16383d4e077e242a9ad5e9280e9afa3
treeddb0de9dccc8eb634e9a46c9f0445d2ae664fb22
parent37e88ee2b47e07d588ab8b5f28f16f5f8b740a67
ARM: vf610: ddrmc: fix initialization completion detection

The CR80 register has multiple interrupt bits, the code is supposed
to check bit 8 but instead uses a logical and. In most cases this
probably did not affect real operations since at that stage typically
none of the other bits are set.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
arch/arm/include/asm/arch-vf610/imx-regs.h
arch/arm/mach-imx/ddrmc-vf610.c