[U-Boot] [PATCH v2 00/22] spi/sf: Updates on flash detection

Jagan Teki jteki at openedev.com
Tue Aug 9 22:03:52 CEST 2016


Updated spi_flash_info table in sync with Linux, and removed
legacy and unsupported code.

Changes for v2:
	- New patches.

Jagan Teki (22):
  sf: Simplify fastest read cmd code
  sf: Remove e_rd_cmd from param table
  spi: Use mode for rx mode flags
  sf: Remove SECT_32K
  sf: Add CONFIG_SPI_FLASH_USE_4K_SECTORS in spi_flash
  sf: Move flags macro's to spi_flash_params{} members
  sf: Adopt flash table INFO macro from Linux
  sf: Add JEDEC_ID and JEDEC_EXT macro
  sf: Rename spi_flash_params => spi_flash_info
  sf: Add JEDEC_MFR
  sf: Simplify lock ops detection code
  sf: sandbox: Fix ID exctract from spi_flash_info
  sf: Cleanup spi_flash_info{}
  sf: Cleanup sf_params
  sf: nr_sectors -> n_sectors
  sf: Add SPI_FLASH_MAX_ID_LEN
  sf: Increase max id length by 1 byte
  sf: Add INFO6 flash_info macro
  sf: params: Add S25FS256S_64K spi flash support
  sf: Remove legacy idcode detection code
  sf: Remove non-meaningful comments
  sf: Rename sf_params.c to spi_flash_ids

 drivers/mtd/spi/Makefile        |   2 +-
 drivers/mtd/spi/sandbox.c       |   9 +-
 drivers/mtd/spi/sf_internal.h   |  95 +++++++---------
 drivers/mtd/spi/sf_params.c     | 238 +++++++++++++++++++++------------------
 drivers/mtd/spi/spi_flash.c     | 240 ++++++++++++----------------------------
 drivers/mtd/spi/spi_flash_ids.c | 176 +++++++++++++++++++++++++++++
 drivers/spi/cadence_qspi.c      |   2 +-
 drivers/spi/ich.c               |   6 +-
 drivers/spi/spi-uclass.c        |  11 +-
 drivers/spi/ti_qspi.c           |   6 +-
 include/linux/err.h             |   5 +
 include/spi.h                   |  14 +--
 12 files changed, 444 insertions(+), 360 deletions(-)
 create mode 100644 drivers/mtd/spi/spi_flash_ids.c

-- 
2.7.4



More information about the U-Boot mailing list