sf: Add Extended read and quad read/write commands support
Get series with b4
b4 am [email protected]Versions newest first
- v6 Latest5 of 12 patches 0 repliesNew
5 of 12 patches are in this archive. The cover letter announces 12.
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 8/12 | sf: Discover read dummy_cycles | +0 | 1 reply | |
| 8/12 | sf: Discover read dummy_cycles | +0 | 1 reply | |
| 8/12 | sf: Discover read dummy_cycles | +0 | 1 reply | |
| 11/12 | sf: Divide flash register ops from QEB code | +0 | 1 reply | |
| 11/12 | sf: Divide flash register ops from QEB code | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.
Cover letter [U-Boot] [PATCH v6 00/12] sf: Add Extended read and quad read/write commands support
Quoted 67 lines · Jagannadha Sutradharudu Teki
This a suffix series for
http://u-boot.10912.n7.nabble.com/PATCH-v4-00-36-sf-Add-common-probe-and-extended-quad-read-write-cmds-support-td163949.html
for adding extended read and quad read/write commands support.Concept:
"Implementation will discover the fastest command by taking the supported commands from flash and a controller. Controller supported commands will always been a priority."The above concept is changed in this series as couple of reviews from earlier ones.
- Implementation concept will apply on read commands.
- As we have two write commands as of now ? so this series is not trying to discover the fastest write command
- The respective command modes are given to the controller driver side as a form of SPI RX/RX operation modes - so sf definitions will not be part of SPI driver side.Testing branch:
$ git clone git://git.denx.de/u-boot-spi.git $ cd u-boot-spi $ git checkout -b master-quad origin/master-quadREQUEST FOR ALL SPI CODE CONTRIBUTORS/USERS, PLEASE TEST THESE CHANGES W.R.T YOUR HW IF POSSIBLE.
Please let me know for any issues/concerns/questions.
--
Thanks,
Jagan.Changes for v6:
- Divided flash reg ops code
-sf_ops.cclean
Changes for v5:
- Re-implemented write command log - not trying to discover the fastest write
- Added SPI RX/TX operation modes
- SPI flash parts are moved intosf_params.cfile
- AddedQUAD_IO_FASTread support
- Discovred the readdummy_cyclesbased on configured read cmd
- Added set QEB support for macronix flash
- Enabled quad read/write cmd support for macronix flash
Changes for v4:
Changes for v3:
Changes for v2:
- noneJagannadha Sutradharudu Teki (12):
sf: Add extended read commands support
sf: Add quad read/write commands support
sf: ops: Add configuration register writing support
sf: Set quad enable bit support
sf: probe: EnableRD_FULLandWR_QPP
sf: Separate the flash params table
sf: AddQUAD_IO_FASTread support
sf: Discover readdummy_cycles
sf: Add macronix set QEB support
sf: probe: Enable macronix quad read/write cmds support
sf: Divide flash register ops from QEB code
sf: Code cleanupsdrivers/mtd/spi/Makefile | 4 +- drivers/mtd/spi/sf_internal.h | 31 +++++- drivers/mtd/spi/sf_ops.c | 71 ++++++++++-- drivers/mtd/spi/sf_params.c | 130 ++++++++++++++++++++++ drivers/mtd/spi/sf_probe.c | 246 +++++++++++++++++++----------------------- include/spi.h | 17 +++ include/spi_flash.h | 43 ++++++++ 7 files changed, 393 insertions(+), 149 deletions(-)
Quoted 2 lines
create mode 100644
drivers/mtd/spi/sf_params.c
Apart from the couple of comments given, this series looks good to me.