diff options
author | Patrice Chotard <patrice.chotard@foss.st.com> | 2021-01-20 14:42:02 +0100 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@foss.st.com> | 2021-03-11 16:59:16 +0100 |
commit | e48ec51b43ed0c9a4eb767addb829cef418041c7 (patch) | |
tree | 4375ec914cf5b78c2281503d7f34dad540b06cf1 /drivers/mtd/nand | |
parent | 5988575a9006e4171a5a59721a537a51f12fabe6 (diff) | |
download | u-boot-e48ec51b43ed0c9a4eb767addb829cef418041c7.tar.gz |
spi: stm32_qspi: Add WATCHDOG_RESET in _stm32_qspi_read_fifo()
In case of reading large area and memory-map mode is misconfigured
(memory-map size declared lower than the real size of the memory chip)
watchdog can be triggered.
Add WATCHDOG_RESET() in _stm32_qspi_read_fifo to fix it.
Issue reproduced with stm32mp157c-ev1 board and memory map size set to
1, with following command:
sf read 0xC0000000 0 0x4000000
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'drivers/mtd/nand')
0 files changed, 0 insertions, 0 deletions