ARM: emif4: wait for CM_DLL_READYST to be set
authorJeroen Hofstee <jeroen@myspectrum.nl>
Wed, 18 Jun 2014 19:22:35 +0000 (21:22 +0200)
committerTom Rini <trini@ti.com>
Mon, 7 Jul 2014 23:42:33 +0000 (19:42 -0400)
commit878cae6b0263576317fcd77bf903cb9e503e6cc7
tree5abc91075454cb14b1a4e6265330870142ae0e7d
parent0b308f14f06bc464bbf9bf3566aca0e1eabffb33
ARM: emif4: wait for CM_DLL_READYST to be set

The code intends for the CM_DLL_READYST to be set, but
actually polls till any bit is set since the logical
AND is used instead of the bitwise one is used. Fix it.

cc: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
arch/arm/cpu/armv7/am33xx/emif4.c