diff options
| author | Patrice Chotard <patrice.chotard@foss.st.com> | 2021-01-20 14:42:04 +0100 |
|---|---|---|
| committer | Patrice Chotard <patrice.chotard@foss.st.com> | 2021-03-11 17:00:41 +0100 |
| commit | de6f70a6329ebf3845fa9173dbd7962a15802c05 (patch) | |
| tree | 2c01b5cf42d7e50c7d416de77be2048f2950252a /scripts/const_structs.checkpatch | |
| parent | 3f6cfdaa23763b691345d2d3709fe1668291f407 (diff) | |
| download | u-boot-de6f70a6329ebf3845fa9173dbd7962a15802c05.tar.gz u-boot-de6f70a6329ebf3845fa9173dbd7962a15802c05.tar.xz u-boot-de6f70a6329ebf3845fa9173dbd7962a15802c05.zip | |
mtd: spinand: Add WATCHDOG_RESET() in spinand_mtd_read/write()
In case of big area read/write on spi nand, watchdog timeout may occurs.
To fix that, add WATCHDOG_RESET() in spinand_mtd_read() and
spinand_mtd_write() 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>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
