u-boot-brain/drivers/mtd
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
..
nand bug, nand, am33xx: nand->ecc.strength not set in board_nand_init() 2013-06-04 11:50:04 -05:00
onenand mtd: resync with Linux-3.7.1 2013-05-31 17:12:03 -05:00
spi sf: Update sf read to support all sizes of flashes 2013-06-23 22:02:50 +05:30
ubi mtd: resync with Linux-3.7.1 2013-05-31 17:12:03 -05:00
at45.c drivers/mtd: Move conditional compilation to Makefile 2008-08-13 01:40:42 +02:00
cfi_flash.c cfi_flash: return NULL for invalid base address input 2013-05-23 09:48:45 +02:00
cfi_mtd.c mtd: resync with Linux-3.7.1 2013-05-31 17:12:03 -05:00
dataflash.c drivers/mtd/dataflash.c: Fix GCC 4.6 warning 2011-11-16 21:28:47 +01:00
ftsmc020.c ftsmc020: fix relocation 2011-05-12 23:43:27 +02:00
jedec_flash.c add STM29F400BB to table of supported legacy flashs 2012-02-09 09:45:53 +01:00
Makefile mtd: resync with Linux-3.7.1 2013-05-31 17:12:03 -05:00
mtdconcat.c mtd: resync with Linux-3.7.1 2013-05-31 17:12:03 -05:00
mtdcore.c mtd: resync with Linux-3.7.1 2013-05-31 17:12:03 -05:00
mtdpart.c mtd: resync with Linux-3.7.1 2013-05-31 17:12:03 -05:00
mw_eeprom.c Update i386 code (sc520_cdp) 2008-09-09 11:48:53 +02:00
st_smi.c MTD: SPEAr SMI: Add write support for length < 4 bytes 2012-07-07 14:07:44 +02:00