]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: Add WATCHDOG_RESET() in nanddev_mtd_erase()
authorPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 20 Jan 2021 13:42:03 +0000 (14:42 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Thu, 11 Mar 2021 15:59:16 +0000 (16:59 +0100)
commit3f6cfdaa23763b691345d2d3709fe1668291f407
tree3c14cbf7abb11b4558e9c4151eefb262be0c2bf2
parente48ec51b43ed0c9a4eb767addb829cef418041c7
mtd: nand: Add WATCHDOG_RESET() in nanddev_mtd_erase()

In case of big area erased on nand, watchdog timeout may occurs.
To fix that, add WATCHDOG_RESET() in nanddev_mtd_erase() to ensure that
watchdog is reset.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
drivers/mtd/nand/core.c