u-boot/drivers/mtd
Po-Yu Chuang b4db4a7638 issue write command to base for JEDEC flash
For JEDEC flash, we should issue word programming command relative to
base address rather than sector base address. Original source makes
SST Flash fails to program sectors which are not on the 0x10000 boundaries.

e.g.
SST39LF040 uses addr1=0x5555 and addr2=0x2AAA, however, each sector
is 0x1000 bytes.

Thus, if we issue command to "sector base (0x41000) + offset(0x5555)",
it sends to 0x46555 and the chip fails to recognize that address.

This patch is tested with SST39LF040.

Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
Signed-off-by: Stefan Roese <sr@denx.de>
2009-07-13 11:01:31 +02:00
..
nand fsl_elbc_nand: redirect the pointer of bbt pattern to RAM 2009-07-07 17:58:10 -05:00
nand_legacy Noisily disable the legacy NAND subsystem. 2009-04-03 15:27:26 -05:00
onenand mtd: Introduce CONFIG_MTD_DEVICE to select compilation of mtdcore.o 2009-06-12 20:45:47 +02:00
spi sf: Macronix additional chips supported 2009-07-06 18:46:20 -04:00
ubi UBI: Fix build problem noticed on Apollon (arm/testing repo) 2009-07-07 16:33:44 +02:00
at45.c drivers/mtd: Move conditional compilation to Makefile 2008-08-13 01:40:42 +02:00
cfi_flash.c issue write command to base for JEDEC flash 2009-07-13 11:01:31 +02:00
cfi_mtd.c mtd: Update MTD infrastructure to support 64bit device size 2009-06-12 20:45:47 +02:00
dataflash.c mtd/dataflash.c: fix a problem with the last partition 2008-12-02 21:53:24 +01:00
jedec_flash.c jedec_flash: Only use manufacturer defines from common flash.h 2009-02-05 11:27:58 +01:00
Makefile mtd: Introduce CONFIG_MTD_DEVICE to select compilation of mtdcore.o 2009-06-12 20:45:47 +02:00
mtdconcat.c mtd: Add MTD concat support to concatenate multiple MTD NOR devices 2009-06-12 20:45:47 +02:00
mtdcore.c mtd: Remove a printf() from add_mtd_device(). 2008-11-24 11:29:53 +01:00
mtdpart.c mtd: Update MTD infrastructure to support 64bit device size 2009-06-12 20:45:47 +02:00
mw_eeprom.c Update i386 code (sc520_cdp) 2008-09-09 11:48:53 +02:00