[U-Boot] [PATCH v3 00/27] spi/sf: Updates on flash detection

Updated spi_flash_info table in sync with Linux, and removed legacy and unsupported code.
Changes for v3: - New patches - Fix checkpatch.pl - Fix BIT positions in spi.h - Fix ti_qspi.c mode - Fix commit Nit: s/becuase/because
Changes for v2: - New patches.
Jagan Teki (27): sf: Simplify fastest read cmd code sf: Remove e_rd_cmd from param table spi: Use mode for rx mode flags spi: Remove SPI_RX_FAST 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 sf: ids: Use small letter's with flash name sf: ids: Use small letter in ext_jedec sf: Rename few local functions spi: Remove dual flash code
drivers/mtd/spi/Makefile | 2 +- drivers/mtd/spi/sandbox.c | 16 ++- drivers/mtd/spi/sf.c | 4 - drivers/mtd/spi/sf_internal.h | 97 ++++++--------- drivers/mtd/spi/sf_params.c | 238 +++++++++++++++++++----------------- drivers/mtd/spi/spi_flash.c | 258 +++++++++++++--------------------------- 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 | 19 +-- 13 files changed, 454 insertions(+), 386 deletions(-) create mode 100644 drivers/mtd/spi/spi_flash_ids.c

On 11 August 2016 at 13:36, Jagan Teki jteki@openedev.com wrote:
Updated spi_flash_info table in sync with Linux, and removed legacy and unsupported code.
Changes for v3: - New patches - Fix checkpatch.pl - Fix BIT positions in spi.h - Fix ti_qspi.c mode - Fix commit Nit: s/becuase/because
Changes for v2: - New patches.
Jagan Teki (27): sf: Simplify fastest read cmd code sf: Remove e_rd_cmd from param table spi: Use mode for rx mode flags spi: Remove SPI_RX_FAST 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 sf: ids: Use small letter's with flash name sf: ids: Use small letter in ext_jedec sf: Rename few local functions spi: Remove dual flash code
Tested on microzed and sandbox
Tested-by: Jagan Teki jteki@openedev.com
I've some host issues while running buildman, can anyone please run buildman?
thanks!

On 08/11/2016 01:15 AM, Jagan Teki wrote:
Tested on microzed and sandbox
Tested-by: Jagan Teki jteki@openedev.com
I've some host issues while running buildman, can anyone please run buildman?
I can compile for power and (limited) arm for you.
York

On Thu, Aug 11, 2016 at 4:06 PM, Jagan Teki jteki@openedev.com wrote:
Updated spi_flash_info table in sync with Linux, and removed legacy and unsupported code.
Changes for v3: - New patches - Fix checkpatch.pl - Fix BIT positions in spi.h - Fix ti_qspi.c mode - Fix commit Nit: s/becuase/because
For the whole series, tested on Intel Crown Bay Tested-by: Bin Meng bmeng.cn@gmail.com
participants (4)
-
Bin Meng
-
Jagan Teki
-
Jagan Teki
-
york sun