[U-Boot] [PATCH 0/8] sf: MTD core support

Jagan Teki jteki at openedev.com
Mon Oct 12 21:47:37 CEST 2015


These patch-set adds mtd support on top of spi-flash layer.

This series is next development level for spi-nor work,
previous work is on below thread patch-set.
https://www.mail-archive.com/u-boot@lists.denx.de/msg188073.html

TODO:
- spi-nor core addition

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

Jagan Teki (8):
  sf: Add MTD support to spi_flash
  sf: Use mtd_info ops instead of spi_flash ops
  cmd_sf: Use mtd->size instead of flash->size
  dm-sf: use mtd_ops, drop dm_spi_flash_ops
  sf: Add MTD support for non-dm spi_flash interface
  sf: probe: Minor cleanup
  sf: Drop SPI_FLASH_MTD driver
  configs: Remove CONFIG_SPI_FLASH_MTD

 common/cmd_sf.c                       |  16 ++---
 drivers/mtd/spi/Kconfig               |  12 ----
 drivers/mtd/spi/Makefile              |   1 -
 drivers/mtd/spi/sf-uclass.c           |  16 -----
 drivers/mtd/spi/sf_internal.h         |   5 --
 drivers/mtd/spi/sf_mtd.c              | 104 --------------------------------
 drivers/mtd/spi/sf_ops.c              | 109 ++++++++++++++++++++--------------
 drivers/mtd/spi/sf_probe.c            |  92 ++++++++++++----------------
 include/configs/aristainetos-common.h |   1 -
 include/configs/gw_ventana.h          |   1 -
 include/configs/socfpga_common.h      |   1 -
 include/spi_flash.h                   | 104 ++++++--------------------------
 12 files changed, 127 insertions(+), 335 deletions(-)
 delete mode 100644 drivers/mtd/spi/sf_mtd.c

-- 
1.9.1



More information about the U-Boot mailing list