commit | 08922f644878c9163ada8df3ef9def89be1d5e90 | [log] [tgz] |
---|---|---|
author | Vignesh R <vigneshr@ti.com> | Tue Mar 29 11:16:17 2016 +0530 |
committer | Brian Norris <computersforpeace@gmail.com> | Tue Apr 05 11:06:57 2016 -0700 |
tree | d29bb6fade704b652cfbe40078eca606a083debb | |
parent | 5651d6aaf489d1db48c253cf884b40214e91c2c5 [diff] |
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: Vignesh R <vigneshr@ti.com> [Brian: add memset()] Signed-off-by: Brian Norris <computersforpeace@gmail.com>