[PATCH 0/4] Add WATCHDOG_RESET() in MTD framework and STM32 QSPI driver
Patrice Chotard
patrice.chotard at foss.st.com
Wed Jan 20 14:42:00 CET 2021
In case of large area read/write/erase on spi nor and spi nand,
watchdog may occurs depending on watchdog timeout and MTD device size.
Some of these use-cases has been reproduced with stm32mp157-ev1 board.
To prevent this situation, WATHDOG_RESET() are added at several
location:
- Add WATCHDOG_RESET() in spi_nor_erase() and spi_nor_write()
- Add WATCHDOG_RESET() in _stm32_qspi_read_fifo()
- Add WATCHDOG_RESET() in nanddev_mtd_erase()
- Add WATCHDOG_RESET() in spinand_mtd_read() and spinand_mtd_erase()
Patrice Chotard (4):
mtd: spi-nor: Add WATCHDOG_RESET() in spi_nor_core callbacks
spi: stm32_qspi: Add WATCHDOG_RESET in _stm32_qspi_read_fifo()
mtd: nand: Add WATCHDOG_RESET() in nanddev_mtd_erase()
mtd: spinand: Add WATCHDOG_RESET() in spinand_mtd_read/write()
drivers/mtd/nand/core.c | 2 ++
drivers/mtd/nand/spi/core.c | 3 +++
drivers/mtd/spi/spi-nor-core.c | 3 +++
drivers/spi/stm32_qspi.c | 2 ++
4 files changed, 10 insertions(+)
--
2.17.1
More information about the U-Boot
mailing list