[U-Boot] [RESEND PATCH v2 00/20] sf: Add common probe support

Jagan Teki jagannadh.teki at gmail.com
Sat Aug 10 13:13:31 CEST 2013


Hi All,

On Tue, Aug 6, 2013 at 9:47 PM, Jagannadha Sutradharudu Teki
<jagannadha.sutradharudu-teki at xilinx.com> wrote:
> Hi All,
>
> This is a v2 series for "sf: Add common probe support"
>
> I am u-boot/spi custodian, I removed all flash drivers files(except ramtron,
> handled in a separate driver) and implemented a common probe support.
>
> Tested SST, STMICR, SPANSION, WINBOND from my side, REQUEST FOR ALL SPI CODE
> FLASH_UESRS/CONTRIBUTORS/REST_USER, 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 (20):
>   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 attributes
>   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: Move BAR config to spi_flash_validate_ids
>   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
>
>  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            | 287 ------------------
>  drivers/mtd/spi/spansion.c           | 141 ---------
>  drivers/mtd/spi/spi_flash.c          | 569 +----------------------------------
>  drivers/mtd/spi/spi_flash_internal.h |  21 +-
>  drivers/mtd/spi/spi_flash_ops.c      | 403 +++++++++++++++++++++++++
>  drivers/mtd/spi/spi_flash_probe.c    | 368 ++++++++++++++++++++++
>  drivers/mtd/spi/sst.c                | 232 --------------
>  drivers/mtd/spi/stmicro.c            | 202 -------------
>  drivers/mtd/spi/winbond.c            | 141 ---------
>  include/configs/top9000.h            |   1 -
>  include/spi_flash.h                  |  79 +++--
>  16 files changed, 841 insertions(+), 2385 deletions(-)
>  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
>  delete mode 100644 drivers/mtd/spi/ramtron.c
>  delete mode 100644 drivers/mtd/spi/spansion.c
>  create mode 100644 drivers/mtd/spi/spi_flash_ops.c
>  create mode 100644 drivers/mtd/spi/spi_flash_probe.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
>

Please find the test branch for this patch series, here.
http://git.denx.de/?p=u-boot/u-boot-spi.git;a=shortlog;h=refs/heads/master-test

Request to test these changes on your boards.
Let me know for any issues.

--
Thanks,
Jagan.


More information about the U-Boot mailing list