Skip to contentSkip to conversation

spi: sf: ICH SPI driver fix and SST25* changes

PATCH New Bin Meng 1 participant 1 message Oct 23, 2014

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

cover spi: sf: ICH SPI driver fix and SST25* changes

This series fix several bugs in current ICH SPI driver as well as adding byte program support for the SST25* flash.

Note only SST25* flash params are updated in patch #4 and #5 as an example. Other flash parts are untouched but can be updated after checking all flash parts' datasheets.

Simon, I can only test the ICH SPI driver with an ICH 7 compatible chipset. ICH 9 should work and it is appreciated if you could help testing and confirm it really does not break anything.

Bin Meng (5):
spi/ich.c: Fix a bug of reading from a non-64 bytes aligned address spi/ich.c: Set the rx operation mode for ich 7
spi: sf: Support byte program for sst spi flash
sf: Update SST25* flash params of supported read commands
sf: Update SST25* flash params of sector size & numbers

 drivers/mtd/spi/sf_internal.h |  2 ++
 drivers/mtd/spi/sf_ops.c      | 31 +++++++++++++++++++++++++++++++
 drivers/mtd/spi/sf_params.c   | 20 ++++++++++----------
 drivers/mtd/spi/sf_probe.c    |  8 ++++++--
 drivers/spi/ich.c             | 26 +++++++++++---------------
 include/spi.h                 |  1 +
 include/spi_flash.h           |  3 ++-
 7 files changed, 63 insertions(+), 28 deletions(-)
Signature · 1 line
1.8.2.1