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

Skip to content
Commit 08922f64 authored by Vignesh R's avatar Vignesh R Committed by Brian Norris
Browse files

mtd: devices: m25p80: add support for mmap read request



Certain SPI controllers may provide accelerated hardware interface to
read from m25p80 type flash devices in order to provide better read
performance. SPI core supports such devices with spi_flash_read() API.
Call spi_flash_read(), if supported, to make use of such interface.

Signed-off-by: default avatarVignesh R <vigneshr@ti.com>
[Brian: add memset()]
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 5651d6aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment