]> git.sur5r.net Git - u-boot/commit
mtd: OneNAND: add timeout to wait ready loops
authorLadislav Michl <ladis@linux-mips.org>
Tue, 12 Jul 2016 18:28:19 +0000 (20:28 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 22 Jul 2016 18:46:11 +0000 (14:46 -0400)
commitd9098ee55f6cf6f51e2fbed0336957e2b7156225
tree5a3752537692c3b2a25c7704768072258714c7b3
parent9a9d3946399e91e0ff6de7e4678a3b242b66af74
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>
drivers/mtd/onenand/onenand_base.c