u-boot/drivers/mtd/spi
Mike Frysinger d9596ffbdc sf: stmicro: dont send 4 bytes when reading status register
I can't find anywhere in the datasheet that says the status register needs
3 dummy bytes sent to it before being able to read back the first real
result.  Tests on a Blackfin board show that after writing the opcode, the
status register starts coming back immediately.  So only write out the
read status register opcode before polling the result.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
CC: Jason McMullan <mcmullan@netapp.com>
CC: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2009-04-02 12:51:28 -04:00
..
atmel.c sf: drop DEBUG defines 2009-04-02 06:49:49 -04:00
Makefile sf: add driver for SST flashes 2009-04-02 06:49:58 -04:00
spansion.c sf: always read 5 bytes for the idcode 2009-04-02 06:50:21 -04:00
spi_flash.c sf: always read 5 bytes for the idcode 2009-04-02 06:50:21 -04:00
spi_flash_internal.h sf: set common timeouts in seconds, not milliseconds 2009-04-02 08:11:31 -04:00
sst.c sf: add driver for SST flashes 2009-04-02 06:49:58 -04:00
stmicro.c sf: stmicro: dont send 4 bytes when reading status register 2009-04-02 12:51:28 -04:00