Skip to content

mtd: dataflash: Add UCLASS_MTD

Jagan Teki u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 of 12 patches 0 repliesNew

10 of 12 patches are in this archive. The cover letter announces 12.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12mtd: spi-nor: Copy sf_dataflashdrivers/mtd/spi-nor/sf_dataflash.c+701 -03 replies
1/12mtd: spi-nor: Copy sf_dataflash+0 -01 reply
2/12mtd: dataflash: Remove unneeded spi datadrivers/mtd/spi-nor/sf_dataflash.c+1 -50 replies
3/12mtd: dataflash: Move flash id detection into jedec_probedrivers/mtd/spi-nor/sf_dataflash.c+10 -90 replies
4/12mtd: dataflash: Fix add_dataflash return logicdrivers/mtd/spi-nor/sf_dataflash.c+61 -660 replies
5/12mtd: dataflash: Add UCLASS_MTD supportdrivers/mtd/spi-nor/sf_dataflash.c+108 -1080 replies
6/12mtd: dataflash: Use spi_write_then_readdrivers/mtd/spi-nor/sf_dataflash.c+11 -100 replies
7/12mtd: dataflash: Drop sf_internal.hdrivers/mtd/spi-nor/sf_dataflash.c+2 -30 replies
8/12mtd: dataflash: Minor cleanupsdrivers/mtd/spi-nor/sf_dataflash.c+22 -290 replies
9/12mtd: Rename sf_dataflash.c to mtd_dataflash.cdrivers/mtd/spi-nor/Makefile drivers/mtd/spi-nor/mtd_dataflash.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 00/12] mtd: dataflash: Add UCLASS_MTD

These changes on top my previous spi-nor series[1], this series convert dataflash to MTD uclass.

Testing:

$ git clone git://git.denx.de/u-boot-spi.git
$ cd u-boot-spi
$ git checkout -b spi-nor origin/spi-nor

[1] https://www.mail-archive.com/u-boot at lists.denx.de/msg203293.html

Jagan Teki (12):
mtd: spi-nor: Copy sf_dataflash
mtd: dataflash: Remove unneeded spi data
mtd: dataflash: Move flash id detection into jedec_probe
mtd: dataflash: Fix add_dataflash return logic
mtd: dataflash: Add UCLASS_MTD support
mtd: dataflash: Use spi_write_then_read
mtd: dataflash: Drop sf_internal.h
mtd: dataflash: Minor cleanups
mtd: Rename sf_dataflash.c to mtd_dataflash.c
mtd: spi-nor: Add Kconfig entry for mtd_dataflash
mtd: dataflash: Add MTD_DATAFLASH_WRITE_VERIFY
mtd: spi-nor: Add kconfig MTD_DATAFLASH_WRITE_VERIFY

 drivers/mtd/spi-nor/Kconfig         |  25 ++
 drivers/mtd/spi-nor/Makefile        |   1 +
 drivers/mtd/spi-nor/mtd_dataflash.c | 686 ++++++++++++++++++++++++++++++++++++
 3 files changed, 712 insertions(+)
 create mode 100644 drivers/mtd/spi-nor/mtd_dataflash.c
Signature · 1 line
1.9.1