[U-Boot] [PATCH v5 00/32] sf: Add new probe support

Jagannadha Sutradharudu Teki jagannadha.sutradharudu-teki at xilinx.com
Wed Oct 2 18:50:10 CEST 2013


This is v5 series for earlier series where I was breakdown 
the quad support and will send for next version.
http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/170343

This patch series adds common probe support for all flash vendors
except ramtron.

spi_flash_probe is a new addition where all flash driver
probing is combined into a common file, this means spi_flash_probe.c
adds a new probing style common to all flashes.

Please use git://git.denx.de/u-boot-spi.git master-probe for testing
http://git.denx.de/?p=u-boot/u-boot-spi.git;a=tree;h=refs/heads/master-probe;hb=master-probe

Tested on SST, STMICRO, WINBOND and SPANSION flash devices.

REQUEST 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.

Jagannadha Sutradharudu Teki (32):
  sf: Divide spi_flash into multiple parts
  sf: probe: Add new spi_flash_probe support
  sf: probe: Add support for M25P* flash parts
  sf: probe: Add support for EN25Q* flash parts
  sf: probe: Add support for GD25* flash parts
  sf: probe: Add support for MX25L* flash parts
  sf: probe: Add support for W25* flash parts
  sf: probe: Add support for S25FL* flash parts
  sf: probe: Add support for SST25* flash parts
  sf: probe: Add support for AT45DB* flash parts
  sf: probe: Give proper spacing on flash table params
  sf: probe: Add support for SST_WP
  sf: probe: Add support to clear flash BP# bits
  sf: probe: Add support for erase sector selection flag
  sf: probe: Add support for flag status polling
  sf: probe: Simply the BAR configuration logic
  sf: Add proper comment style on spi_flash structure
  sf: ramtron: Add support for separate flash driver
  sf: Remove unneeded flash drivers files
  sf: probe: Add support for EN25Q64
  sf: probe: Add support for S25FL256S_256K
  sf: probe: Add support for S25FL512S_256K
  sf: probe: Use print_size arg as page_size
  sf: probe: Print erase_size while printing flash details
  sf: ops: Add static qualifier to spi_flash_cmd_bankaddr_write
  sf: probe: Add support for MX25L25635F
  sf: probe: Add support for MX25L51235F
  sf: Remove spi_flash_do_alloc references
  sf: spi_flash cleanups
  spi: spi cleanups
  sf: Rename spi_flash files
  doc: SPI: Add status.txt for tracking SPI subsys status

 doc/SPI/status.txt                                 |  28 +
 drivers/mtd/spi/Makefile                           |  15 +-
 drivers/mtd/spi/atmel.c                            | 544 ------------------
 drivers/mtd/spi/eon.c                              |  60 --
 drivers/mtd/spi/gigadevice.c                       |  65 ---
 drivers/mtd/spi/macronix.c                         |  98 ----
 drivers/mtd/spi/ramtron.c                          | 123 ++++-
 drivers/mtd/spi/sf.c                               |  54 ++
 .../spi/{spi_flash_internal.h => sf_internal.h}    | 140 ++---
 drivers/mtd/spi/sf_ops.c                           | 403 ++++++++++++++
 drivers/mtd/spi/sf_probe.c                         | 360 ++++++++++++
 drivers/mtd/spi/spansion.c                         | 141 -----
 drivers/mtd/spi/spi_flash.c                        | 615 ---------------------
 drivers/mtd/spi/sst.c                              | 238 --------
 drivers/mtd/spi/stmicro.c                          | 202 -------
 drivers/mtd/spi/winbond.c                          | 141 -----
 include/configs/top9000.h                          |   1 -
 include/spi.h                                      |  87 +--
 include/spi_flash.h                                | 103 ++--
 19 files changed, 1127 insertions(+), 2291 deletions(-)
 create mode 100644 doc/SPI/status.txt
 delete mode 100644 drivers/mtd/spi/atmel.c
 delete mode 100644 drivers/mtd/spi/eon.c
 delete mode 100644 drivers/mtd/spi/gigadevice.c
 delete mode 100644 drivers/mtd/spi/macronix.c
 create mode 100644 drivers/mtd/spi/sf.c
 rename drivers/mtd/spi/{spi_flash_internal.h => sf_internal.h} (61%)
 create mode 100644 drivers/mtd/spi/sf_ops.c
 create mode 100644 drivers/mtd/spi/sf_probe.c
 delete mode 100644 drivers/mtd/spi/spansion.c
 delete mode 100644 drivers/mtd/spi/spi_flash.c
 delete mode 100644 drivers/mtd/spi/sst.c
 delete mode 100644 drivers/mtd/spi/stmicro.c
 delete mode 100644 drivers/mtd/spi/winbond.c

-- 
1.8.3




More information about the U-Boot mailing list