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

Jagan Teki jteki at openedev.com
Fri Feb 12 09:36:05 CET 2016


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@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

-- 
1.9.1



More information about the U-Boot mailing list