Pull request: u-boot-spi/master
Hi Tom,
Just released pull request with new sf probe support. Tested these changes on stmicro, winbond, spansion and sst.
--
Thanks,
Jagan.
The following changes since commit f835c77fb7e57508ffe8d8ca3a092ee28add77b2:
Merge branch 'master' of git://git.denx.de/u-boot-arm (2013-10-04 13:17:48 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-spi.git master
for you to fetch changes up to 3cfcf774c270ecf6289203d88f859d1f91cb318e:
doc: SPI: Update SPI status track (2013-10-07 19:35:10 +0530)
----------------------------------------------------------------
Jagannadha Sutradharudu Teki (35):
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
sf: Minor cleanups
sf: ramtron: Remove page_size print
doc: SPI: Update SPI status track
Matt Porter (3):
omap5: add qspi support
spi: add TI QSPI driver
dra7xx_evm: add SPL API, QSPI, and serial flash support
Poddar, Sourav (3):
armv7: hw_data: change clock divider setting.
sf: Add memory mapped read support
README: qspi usecase and testing documentation.
Priyanka Jain (1):
sf: probe: Add support for EN25S64
arch/arm/cpu/armv7/omap5/hw_data.c | 10 +-
arch/arm/cpu/armv7/omap5/prcm-regs.c | 1 +
arch/arm/include/asm/arch-omap5/omap.h | 3 +
arch/arm/include/asm/arch-omap5/spl.h | 1 +
arch/arm/include/asm/omap_common.h | 1 +
board/ti/dra7xx/mux_data.h | 10 +
doc/SPI/README.ti_qspi_dra_test | 48 ++
doc/SPI/README.ti_qspi_flash | 47 ++
doc/SPI/status.txt | 31 ++
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 | 122 +++-
drivers/mtd/spi/sf.c | 54 ++
.../spi/{spi_flash_internal.h => sf_internal.h} | 140 ++---
drivers/mtd/spi/sf_ops.c | 405 ++++++++++++++
drivers/mtd/spi/sf_probe.c | 363 ++++++++++++
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 -----
drivers/spi/Makefile | 1 +
drivers/spi/ti_qspi.c | 311 +++++++++++
include/configs/dra7xx_evm.h | 19 +
include/configs/top9000.h | 1 -
include/spi.h | 100 ++--
include/spi_flash.h | 103 ++--
30 files changed, 1592 insertions(+), 2298 deletions(-)
create mode 100644 doc/SPI/README.ti_qspi_dra_test
create mode 100644 doc/SPI/README.ti_qspi_flash
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} (62%)
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
create mode 100644 drivers/spi/ti_qspi.cPATCH 1/1 da850evm.h: Always set CONFIG_CMD_SF, move to by CONFIG_SPI_FLASH
When we have CONFIG_SPI_FLASH set we now require CONFIG_CMD_SF.
--- include/configs/da850evm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/da850evm.h +1 -1
@@ -147,6 +147,7 @@#define CONFIG_SPI_FLASH #define CONFIG_SPI_FLASH_STMICRO #define CONFIG_SPI_FLASH_WINBOND +#define CONFIG_CMD_SF #define CONFIG_DAVINCI_SPI #define CONFIG_SYS_SPI_BASE DAVINCI_SPI1_BASE#define CONFIG_SYS_SPI_CLK clk_get(DAVINCI_SPI1_CLKID)
@@ -334,7 +335,6 @@#undef CONFIG_CMD_IMLS#undef CONFIG_CMD_FLASH#define CONFIG_CMD_SPI -#define CONFIG_CMD_SF #define CONFIG_CMD_SAVEENV #endif
Signature · 1 line
1.7.9.5
Quoted 113 lines · Jagannadha Sutradharudu Teki
Hi Tom,
Just released pull request with new sf probe support. Tested these changes on stmicro, winbond, spansion and sst.
--
Thanks,
Jagan.The following changes since commit
f835c77fb7e57508ffe8d8ca3a092ee28add77b2:Merge branch 'master' of
git://git.denx.de/u-boot-arm(2013-10-04 13:17:48 -0400)are available in the git repository at:
git://git.denx.de/u-boot-spi.gitmasterfor you to fetch changes up to
3cfcf774c270ecf6289203d88f859d1f91cb318e:doc: SPI: Update SPI status track (2013-10-07 19:35:10 +0530)
----------------------------------------------------------------
Jagannadha Sutradharudu Teki (35):
sf: Dividespi_flashinto multiple parts
sf: probe: Add newspi_flash_probesupport
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 forSST_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 onspi_flashstructure
sf: ramtron: Add support for separate flash driver
sf: Remove unneeded flash drivers files
sf: probe: Add support for EN25Q64
sf: probe: Add support forS25FL256S_256K
sf: probe: Add support forS25FL512S_256K
sf: probe: Useprint_sizearg aspage_size
sf: probe: Printerase_sizewhile printing flash details
sf: ops: Add static qualifier tospi_flash_cmd_bankaddr_write
sf: probe: Add support for MX25L25635F
sf: probe: Add support for MX25L51235F
sf: Removespi_flash_do_allocreferences
sf:spi_flashcleanups
spi: spi cleanups
sf: Renamespi_flashfiles
doc: SPI: Add status.txt for tracking SPI subsys status
sf: Minor cleanups
sf: ramtron: Removepage_sizeprint
doc: SPI: Update SPI status trackMatt Porter (3):
omap5: add qspi support
spi: add TI QSPI driver
dra7xx_evm: add SPL API, QSPI, and serial flash supportPoddar, Sourav (3):
armv7:hw_data: change clock divider setting.
sf: Add memory mapped read support
README: qspi usecase and testing documentation.Priyanka Jain (1):
sf: probe: Add support for EN25S64arch/arm/cpu/armv7/omap5/hw_data.c | 10 +- arch/arm/cpu/armv7/omap5/prcm-regs.c | 1 + arch/arm/include/asm/arch-omap5/omap.h | 3 + arch/arm/include/asm/arch-omap5/spl.h | 1 + arch/arm/include/asm/omap_common.h | 1 + board/ti/dra7xx/mux_data.h | 10 + doc/SPI/README.ti_qspi_dra_test | 48 ++ doc/SPI/README.ti_qspi_flash | 47 ++ doc/SPI/status.txt | 31 ++ 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 | 122 +++- drivers/mtd/spi/sf.c | 54 ++ .../spi/{spi_flash_internal.h => sf_internal.h} | 140 ++--- drivers/mtd/spi/sf_ops.c | 405 ++++++++++++++ drivers/mtd/spi/sf_probe.c | 363 ++++++++++++ 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 ----- drivers/spi/Makefile | 1 + drivers/spi/ti_qspi.c | 311 +++++++++++ include/configs/dra7xx_evm.h | 19 + include/configs/top9000.h | 1 - include/spi.h | 100 ++-- include/spi_flash.h | 103 ++-- 30 files changed, 1592 insertions(+), 2298 deletions(-) create mode 100644 doc/SPI/README.ti_qspi_dra_test create mode 100644 doc/SPI/README.ti_qspi_flash 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} (62%)
Quoted 8 lines
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 create mode 100644 drivers/spi/ti_qspi.c
With the patch I sent as follow-up, applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131008/6f018608/attachment.pgp>