aboutsummaryrefslogtreecommitdiff
path: root/drivers/ddr/imx
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2019-03-08 19:11:55 +0100
committerMarek Vasut <marex@denx.de>2019-03-09 23:25:19 +0100
commitffd1e1a336730b6991c2ae7e7b0605e99d4f2b06 (patch)
tree62d7fe736dcb1be814c3a94725bf558cfd92dbd9 /drivers/ddr/imx
parenta356fb60be5a853ab73e5b58c8bfcd8e3abc89ea (diff)
ddr: socfpga: Fix EMIF clear timeout
The current EMIF clear timeout handling code was applying bitwise operations to signed data types and as it was, was extremely hard to read. Replace it with simple wait_for_bit(). Expand the error handling to make it more readable too. This patch also changes the timeout for emif_clear() from 14 hours to 1 second. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <chin.liang.see@intel.com> Cc: Dinh Nguyen <dinguyen@kernel.org> Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Cc: Tien Fong Chee <tien.fong.chee@intel.com>
Diffstat (limited to 'drivers/ddr/imx')
0 files changed, 0 insertions, 0 deletions