Skip to content

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

Bin Meng u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5spi/ich.c: Fix a bug of reading from a non-64 bytes aligned addressdrivers/spi/ich.c+2 -151 reply
2/5spi/ich.c: Set the rx operation mode for ich 7drivers/spi/ich.c+4 -01 reply
3/5spi: sf: Support byte program for sst spi flashdrivers/mtd/spi/sf_internal.h drivers/mtd/spi/sf_ops.c drivers/mtd/spi/sf_probe.c +2 more+47 -42 replies
3/5spi: sf: Support byte program for sst spi flash+0 -00 replies
5/5sf: Update SST25* flash params of sector size & numbersdrivers/mtd/spi/sf_params.c+10 -101 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/5A-b T-b
2/5A-b T-b
3/5A-b T-b
3/5A-b T-b
5/5A-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/5] 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