Using SPI NOR flah on sunxi.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 19 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | MTD: m25p80: fix write return value.drivers/ | +1 | 2 replies | |
| 2/3 | MTD: spi-nor: check for short writes in spi_nor_write.drivers/ | +17 | 6 replies | |
| 3/3 | MTD: m25p80: Add option to limit SPI transfer size.Documentation/ drivers/ | +22 | 2 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Marek Vasut |
|---|---|
| 1/3 | A-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Using SPI NOR flah on sunxi.
Hello,
I tried to connect a SPI NOR flash to my sunxi board and due to the current sunxi SPI driver limitations it does not work.
The SPI driver returns an error when more than 64 bytes are transferred at once due to lack of DMA support.
I tried to hack in an option to limit the transfer size and discovered that the return value of write in m25p80 driver is wrong and never checked.
This might be useful while working with other devices with limited driver support.
Thanks
Michal
Michal Suchanek (3):
MTD: m25p80: fix write return value.
MTD: spi-nor: check for short writes in spi_nor_write.
MTD: m25p80: Add option to limit SPI transfer size.
Documentation/devicetree/bindings/mtd/m25p80.txt | 5 +++ drivers/mtd/devices/m25p80.c | 21 ++++++++++-- drivers/mtd/spi-nor/spi-nor.c | 42 ++++++++++-------------- 3 files changed, 40 insertions(+), 28 deletions(-)
Signature · 1 line
2.1.4