Patchwork [U-Boot] Pull request: u-boot-spi/master

login
register
mail settings
Submitter Jagannadha Sutradharudu Teki
Date June 23, 2013, 5:59 p.m.
Message ID <6657a4d6-7c10-4eed-9f5e-c1dfd0f9151c@CO9EHSMHS026.ehs.local>
Download mbox
Permalink /patch/253585/
State Accepted
Delegated to: Tom Rini
Headers show

Pull-request

git://git.denx.de/u-boot-spi.git master

Comments

Jagannadha Sutradharudu Teki - June 23, 2013, 5:59 p.m.
Hi Tom,

These are the major updates on current spi_flash framework to support
all sizes of flashes in 3-byte addressing mode.

Tested these changes on stmicro, winbond and spansion flashes.

Thanks,
Jagan.

The following changes since commit 7315cfd9e1922ee1c3c5f016e5a3b16199122172:

  NET: Fix system hanging if NET device is not installed (2013-06-19 08:32:44 -0400)

are available in the git repository at:

  git://git.denx.de/u-boot-spi.git master

for you to fetch changes up to b9e31be0f8adc1a55179ae3b45c9e274f4650007:

  sf: Warn to use BAR for > 16MiB flashes (2013-06-23 22:10:36 +0530)

----------------------------------------------------------------
Axel Lin (2):
      spi: cf_qspi: Use DIV_ROUND_UP at appropriate place
      spi: mxc_spi: Use DIV_ROUND_UP at appropriate places

Jagannadha Sutradharudu Teki (23):
      sf: spansion: Correct name of S25FL128S 64K Sector part
      sf: winbond: Update the names for W25Q 0x40XX ID's flash parts
      sf: winbond: Add support for W25Q128FW
      sf: winbond: Add support for W25Q16DW
      sf: winbond: Add support for W25QXXXFV
      sf: Add bank address register writing support
      sf: Discover the bank addr commands
      sf: Read flash bank addr register at probe time
      sf: Update sf to support all sizes of flashes
      sf: Update sf read to support all sizes of flashes
      sf: Add bank addr code in CONFIG_SPI_FLASH_BAR
      sf: Use spi_flash_addr() in write call
      sf: stmicro: Add support for N25Q512
      sf: stmicro: Add support for N25Q512A
      sf: stmicro: Add support for N25Q1024
      sf: stmicro: Add support for N25Q1024A
      sf: spansion: Add support for S25FL512S_64K
      sf: Remove spi_flash_cmd_poll_bit()
      sf: Add flag status register polling support
      sf: Unify spi_flash write code
      sf: Place the sf calls in proper order
      sf: Add debug messages on spi_flash_read_common
      sf: Warn to use BAR for > 16MiB flashes

 README                               |   5 +
 drivers/mtd/spi/spansion.c           |   9 +-
 drivers/mtd/spi/spi_flash.c          | 376 +++++++++++++++++++++++------------
 drivers/mtd/spi/spi_flash_internal.h |  39 +++-
 drivers/mtd/spi/stmicro.c            |  28 +++
 drivers/mtd/spi/winbond.c            |  24 ++-
 drivers/spi/cf_qspi.c                |   2 +-
 drivers/spi/mxc_spi.c                |   6 +-
 include/spi_flash.h                  |  10 +
 9 files changed, 360 insertions(+), 139 deletions(-)
Tom Rini - June 25, 2013, 2:56 p.m.
On Sun, Jun 23, 2013 at 11:29:11PM +0530, Jagannadha Sutradharudu Teki wrote:

> Hi Tom,
> 
> These are the major updates on current spi_flash framework to support
> all sizes of flashes in 3-byte addressing mode.
> 
> Tested these changes on stmicro, winbond and spansion flashes.
> 
> Thanks,
> Jagan.
> 
> The following changes since commit 7315cfd9e1922ee1c3c5f016e5a3b16199122172:
> 
>   NET: Fix system hanging if NET device is not installed (2013-06-19 08:32:44 -0400)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-spi.git master
> 
> for you to fetch changes up to b9e31be0f8adc1a55179ae3b45c9e274f4650007:
> 
>   sf: Warn to use BAR for > 16MiB flashes (2013-06-23 22:10:36 +0530)
> 
> ----------------------------------------------------------------
> Axel Lin (2):
>       spi: cf_qspi: Use DIV_ROUND_UP at appropriate place
>       spi: mxc_spi: Use DIV_ROUND_UP at appropriate places
> 
> Jagannadha Sutradharudu Teki (23):
>       sf: spansion: Correct name of S25FL128S 64K Sector part
>       sf: winbond: Update the names for W25Q 0x40XX ID's flash parts
>       sf: winbond: Add support for W25Q128FW
>       sf: winbond: Add support for W25Q16DW
>       sf: winbond: Add support for W25QXXXFV
>       sf: Add bank address register writing support
>       sf: Discover the bank addr commands
>       sf: Read flash bank addr register at probe time
>       sf: Update sf to support all sizes of flashes
>       sf: Update sf read to support all sizes of flashes
>       sf: Add bank addr code in CONFIG_SPI_FLASH_BAR
>       sf: Use spi_flash_addr() in write call
>       sf: stmicro: Add support for N25Q512
>       sf: stmicro: Add support for N25Q512A
>       sf: stmicro: Add support for N25Q1024
>       sf: stmicro: Add support for N25Q1024A
>       sf: spansion: Add support for S25FL512S_64K
>       sf: Remove spi_flash_cmd_poll_bit()
>       sf: Add flag status register polling support
>       sf: Unify spi_flash write code
>       sf: Place the sf calls in proper order
>       sf: Add debug messages on spi_flash_read_common
>       sf: Warn to use BAR for > 16MiB flashes
> 
>  README                               |   5 +
>  drivers/mtd/spi/spansion.c           |   9 +-
>  drivers/mtd/spi/spi_flash.c          | 376 +++++++++++++++++++++++------------
>  drivers/mtd/spi/spi_flash_internal.h |  39 +++-
>  drivers/mtd/spi/stmicro.c            |  28 +++
>  drivers/mtd/spi/winbond.c            |  24 ++-
>  drivers/spi/cf_qspi.c                |   2 +-
>  drivers/spi/mxc_spi.c                |   6 +-
>  include/spi_flash.h                  |  10 +
>  9 files changed, 360 insertions(+), 139 deletions(-)

Applied to u-boot/master and tested on am335x_evm, thanks!