Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 10cd4b7b authored by Ludovic Barre's avatar Ludovic Barre Committed by Cyrille Pitchen
Browse files

mtd: spi-nor: stm32-quadspi: fix prefetching outside fsize



When memory-mapped mode is used, a prefetching mechanism fully
managed by the hardware allows to optimize the read from external
the QSPI memory. A 32-bytes FIFO is used for prefetching.
When the limit of flash size - fifo size is reached the prefetching
mechanism tries to read outside the fsize.
The stm32 quadspi hardware become busy and should be aborted.

Signed-off-by: default avatarLudovic Barre <ludovic.barre@st.com>
Reported-by: default avatarBruno Herrera <bruherrera@gmail.com>
Tested-by: default avatarBruno Herrera <bruherrera@gmail.com>
Signed-off-by: default avatarCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
parent e812963b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment