diff options
| author | Marek Vasut <[email protected]> | 2019-03-08 19:11:55 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2019-03-09 23:25:19 +0100 |
| commit | ffd1e1a336730b6991c2ae7e7b0605e99d4f2b06 (patch) | |
| tree | 62d7fe736dcb1be814c3a94725bf558cfd92dbd9 /scripts | |
| parent | a356fb60be5a853ab73e5b58c8bfcd8e3abc89ea (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 <[email protected]>
Cc: Chin Liang See <[email protected]>
Cc: Dinh Nguyen <[email protected]>
Cc: Simon Goldschmidt <[email protected]>
Cc: Tien Fong Chee <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
