u-boot-2016/drivers
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
..
bios_emulator drivers/bios_emulator: Move conditional compilation to Makefile 2008-12-07 01:29:31 +01:00
block Update CHANGELOG, coding style cleanup. 2009-04-05 00:27:57 +02:00
dma 83xx: Add support for fsl_dma driver 2009-07-02 11:15:57 -05:00
fpga fpga: Fix Spartan III FPGA booting 2009-02-21 22:52:44 +01:00
gpio General help message cleanup 2009-06-12 20:47:16 +02:00
hwmon rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
i2c Blackfin: TWI/I2C: fix pure writes 2009-06-30 08:27:45 +02:00
input Rename common ns16550 constants with UART_ prefix to prevent conflicts 2009-04-03 22:34:07 +02:00
misc General help message cleanup 2009-06-12 20:47:16 +02:00
mmc mmc: it's safe to ignore mmc_send_if_cond() return value 2009-06-04 00:15:09 +02:00
mtd issue write command to base for JEDEC flash 2009-07-13 11:01:31 +02:00
net net: merge bugfix: Marvell Kirkwood gigabit ethernet driver 2009-07-06 21:52:53 +02:00
pci 83xx: Replace CONFIG_MPC83[0-9]X with MPC83[0-9]x 2009-06-12 20:47:17 +02:00
pcmcia mpc8xx_pcmcia: move CONFIG_8xx out of .c file and into Makefile 2009-02-18 00:51:21 +01:00
qe Coding style cleanup; update CHANGELOG 2009-07-07 22:35:02 +02:00
rtc Update CHANGELOG, coding style cleanup. 2009-04-05 00:27:57 +02:00
serial arm: Kirkwood: Basic SOCs support 2009-07-06 21:52:17 +02:00
spi Merge branch 'master' of git://git.denx.de/u-boot-arm 2009-07-07 22:22:05 +02:00
twserial drivers/twserial: Add protocol driver for "three wire serial" interface. 2009-03-30 09:38:36 +02:00
usb mpc83xx: USB: Reorganized its support 2009-06-12 20:47:17 +02:00
video Atmel LCD driver GUARDTIME fix 2009-06-30 16:22:35 +02:00
watchdog at91sam9: add watchdog support 2009-04-04 20:42:19 +02:00