commit | 243af2f7637a7cb144112881e5d6cb1fb0420cd4 | [log] [tgz] |
---|---|---|
author | Ladislav Michl <ladis@linux-mips.org> | Tue Jul 12 20:28:19 2016 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri Jul 22 14:46:11 2016 -0400 |
tree | 5a3752537692c3b2a25c7704768072258714c7b3 | |
parent | fe4bc3d9b0396751e2352dbb47b609df099e4ef2 [diff] |
mtd: OneNAND: add timeout to wait ready loops Add timeout to onenand_wait ready loop as it hangs here indefinitely when chip not present. Once there, do the same for onenand_bbt_wait as well (note: recent Linux driver code does the same) Signed-off-by: Ladislav Michl <ladis@linux-mips.org>