diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2016-07-12 20:28:19 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-07-22 14:46:11 -0400 |
commit | d9098ee55f6cf6f51e2fbed0336957e2b7156225 (patch) | |
tree | 5a3752537692c3b2a25c7704768072258714c7b3 /drivers/mtd/jedec_flash.c | |
parent | 9a9d3946399e91e0ff6de7e4678a3b242b66af74 (diff) | |
download | u-boot-imx-d9098ee55f6cf6f51e2fbed0336957e2b7156225.zip u-boot-imx-d9098ee55f6cf6f51e2fbed0336957e2b7156225.tar.gz u-boot-imx-d9098ee55f6cf6f51e2fbed0336957e2b7156225.tar.bz2 |
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>
Diffstat (limited to 'drivers/mtd/jedec_flash.c')
0 files changed, 0 insertions, 0 deletions