[U-Boot] [PATCH v3 00/28] sf: Add common probe support

Jagan Teki jagannadh.teki at gmail.com
Wed Sep 18 19:31:28 CEST 2013


Hi,

To my knowledge, I have added few spi_flash code contributors from
Atmel, eon, gigadevice and macronix.
Request for respective developers, please test these new changes on
your hw parts.

On Sun, Sep 15, 2013 at 11:45 PM, Jagannadha Sutradharudu Teki
<jagannadha.sutradharudu-teki at xilinx.com> wrote:
> Hi All,
>
> This is a v3 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 use the below branch for testing:
> http://git.denx.de/?p=u-boot/u-boot-spi.git;a=shortlog;h=refs/heads/master-test-new
> $ git clone git://git.denx.de/u-boot-spi.git
> $ cd u-boot-spi
> $ git checkout -b master-test-new origin/master-test-new
>
> Please let me know for any issues/concerns/questions.
>
> --
> Thanks,
> Jagan.
>
> Jagannadha Sutradharudu Teki (28):
>   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: 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
>   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: probe: Simply the BAR configuration logic
>   sf: ops: Add static qualifier to spi_flash_cmd_bankaddr_write
>   sf: probe: Add support for MX25L25635F
>   sf: probe: Add support for MX25L51235F
>
>  drivers/mtd/spi/.nfs0000000002e4f8b600007c0e | Bin 0 -> 16384 bytes
>  drivers/mtd/spi/Makefile                     |  13 +-
>  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/spansion.c                   | 141 -------
>  drivers/mtd/spi/spi_flash.c                  | 571 +--------------------------
>  drivers/mtd/spi/spi_flash_internal.h         |  29 +-
>  drivers/mtd/spi/spi_flash_ops.c              | 403 +++++++++++++++++++
>  drivers/mtd/spi/spi_flash_probe.c            | 357 +++++++++++++++++
>  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_flash.h                          |  76 ++--
>  17 files changed, 947 insertions(+), 2115 deletions(-)
>  create mode 100644 drivers/mtd/spi/.nfs0000000002e4f8b600007c0e
>  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/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
>
> --
> 1.8.3
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

-- 
Thanks,
Jagan.
--------
Jagannadha Sutradharudu Teki,
E: jagannadh.teki at gmail.com, P: +91-9676773388
Engineer - System Software Hacker
U-boot - SPI Custodian and Zynq APSOC
Ln: http://www.linkedin.com/in/jaganteki


More information about the U-Boot mailing list