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)
commit52c2c97e7c5b3ba326bae53a7940e27878efd405
treeddb0de9dccc8eb634e9a46c9f0445d2ae664fb22
parentb77e368fa27631f13c06acdb0020fb64b59d4411
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