Hi,

On 12/16/25 16:31, Patrice Chotard wrote:
FIFO accesses uses u8 only for read/write.
In order to optimize throughput, add u16 or u32 read/write
accesses when possible.
Set FIFO threshold level value accordingly.

Test performed by writing and reading 64MB on sNOR on
stm32mp157c-ev1 board:

           before      after    ratio
Write :  428 KB/s   719 KB/s    +68%
Read  :  520 KB/s  3200 KB/s   +615%

Signed-off-by: Patrice Chotard <[email protected]>
---
  drivers/spi/stm32_qspi.c | 59 ++++++++++++++++++++++++++++++++++++++++--------
  1 file changed, 50 insertions(+), 9 deletions(-)

Reviewed-by: Patrick Delaunay <[email protected]> Thanks Patrick

Reply via email to