u-boot-brain/drivers/mtd/spi
Jagannadha Sutradharudu Teki fc207ee4db sf: Update sf read to support all sizes of flashes
This patch updated the spi_flash read func to support all
sizes of flashes using bank reg addr facility.

The same support has been added in below patch for erase/write
spi_flash functions:
"sf: Support all sizes of flashes using bank addr reg facility"
(sha1: c956f600cbb0943d0afe1004cdb503f4fcd8f415)

With these new updates on sf framework, the flashes which has < 16MB
are not effected as per as performance is concern and but the
u-boot.bin size incrased ~460 bytes.

sf update(for first 16MBytes), Changes before:
U-Boot> sf update 0x1000000 0x0 0x1000000
- N25Q256
  16777216 bytes written, 0 bytes skipped in 199.72s, speed 86480 B/s
- W25Q128BV
  16777216 bytes written, 0 bytes skipped in 351.739s, speed 48913 B/s
- S25FL256S_64K
  16777216 bytes written, 0 bytes skipped in 65.659s, speed 262144 B/s

sf update(for first 16MBytes), Changes before:
U-Boot> sf update 0x1000000 0x0 0x1000000
- N25Q256
  16777216 bytes written, 0 bytes skipped in 198.953s, speed 86480 B/s
- W25Q128BV
  16777216 bytes written, 0 bytes skipped in 350.90s, speed 49200 B/s
- S25FL256S_64K
  16777216 bytes written, 0 bytes skipped in 66.521s, speed 262144 B/s

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2013-06-23 22:02:50 +05:30
..
atmel.c sf: Use spi_flash_alloc() in each SPI flash driver 2013-03-19 08:45:36 -07:00
eeprom_m95xxx.c sf: eeprom_m95xxx: set a sane default timeout 2012-02-12 15:18:28 -05:00
eon.c sf: Use spi_flash_alloc() in each SPI flash driver 2013-03-19 08:45:36 -07:00
macronix.c sf: Use spi_flash_alloc() in each SPI flash driver 2013-03-19 08:45:36 -07:00
Makefile sf: Add spi_boot() to allow booting from SPI flash in an SPL 2011-12-24 10:23:30 +01:00
ramtron.c sf: Use spi_flash_alloc() in each SPI flash driver 2013-03-19 08:45:36 -07:00
spansion.c sf: spansion: Correct name of S25FL128S 64K Sector part 2013-06-22 23:08:00 +05:30
spi_flash_internal.h sf: Read flash bank addr register at probe time 2013-06-23 22:02:50 +05:30
spi_flash.c sf: Update sf read to support all sizes of flashes 2013-06-23 22:02:50 +05:30
spi_spl_load.c SPL: SPI: Enhance spi_spl_load to match the other load functions 2012-09-27 11:20:27 -07:00
sst.c sf: Use spi_flash_alloc() in each SPI flash driver 2013-03-19 08:45:36 -07:00
stmicro.c sf: Use spi_flash_alloc() in each SPI flash driver 2013-03-19 08:45:36 -07:00
winbond.c sf: winbond: Add support for W25QXXXFV 2013-06-22 23:08:01 +05:30