| Age | Commit message (Collapse) | Author |
|
Signed-off-by: Albin Tonnerre <[email protected]>
|
|
Reported-by: Peter Gombos <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
|
|
Signed-off-by: Jason McMullan <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
|
|
Some of the new spi flash files were missing explicit license lines.
Signed-off-by: Mike Frysinger <[email protected]>
CC: Haavard Skinnemoen <[email protected]>
|
|
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
|
|
This chip is used in a number of boards manufactured by Calao-Systems
which should be supported soon. This driver provides the necessary
spi_read and spi_write functions necessary to communicate with the chip.
Signed-off-by: Albin Tonnerre <[email protected]>
|
|
new chips supported:-
MX25L1605D, MX25L3205D, MX25L6405D, MX25L12855E
out of which MX25L6405D and MX25L12855E tested on Kirkwood platforms
Modified the Macronix flash support to use 2 bytes of device id instead of 1
This was required to support MX25L12855E
Signed-off-by: Piyush Shah <[email protected]>
Signed-off-by: Prafulla Wadaskar <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
|
|
Signed-off-by: Mike Frysinger <[email protected]>
|
|
Looks like when I was encoding the sector sizes, I forgot to divide by 8
(due to the stupid marketing driven process that declares all sizes in
useless megabits and not megabytes).
Signed-off-by: Mike Frysinger <[email protected]>
|
|
Added macronix SF driver for MTD framework
MX25L12805D is supported and tested
TBD: sector erase implementation, other deivces support
Signed-off-by: Prafulla Wadaskar <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
|
|
Signed-off-by: Todor I Mollov <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
CC: Haavard Skinnemoen <[email protected]>
|
|
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 <[email protected]>
CC: Jason McMullan <[email protected]>
CC: TsiChung Liew <[email protected]>
|
|
Since timeouts are only hit when there is a problem in the system, we
don't want to prematurely timeout on a functioning setup. Thus having
low timeouts (in milliseconds) doesn't gain us anything in the production
case, but rather increases likely hood of causing problems where none
otherwise exist.
Signed-off-by: Mike Frysinger <[email protected]>
CC: Haavard Skinnemoen <[email protected]>
|
|
Signed-off-by: Mike Frysinger <[email protected]>
CC: Haavard Skinnemoen <[email protected]>
|
|
Some SPI flash drivers like to have extended id information available
(like the spansion flash), so rather than making it re-issue the ID cmd
to get at the last 2 bytes, have the common code read 5 bytes rather than
just 3. This also matches the Linux behavior where it always reads 5 id
bytes from all flashes.
Signed-off-by: Mike Frysinger <[email protected]>
Acked-by: Haavard Skinnemoen <[email protected]>
CC: Mingkai Hu <[email protected]>
|
|
The common SPI flash code reads the idcode and passes it down to the SPI
flash driver, so there is no need to read it again ourselves.
Signed-off-by: Mike Frysinger <[email protected]>
Acked-by: Haavard Skinnemoen <[email protected]>
CC: Jason McMullan <[email protected]>
CC: TsiChung Liew <[email protected]>
|
|
Signed-off-by: Mike Frysinger <[email protected]>
Acked-by: Haavard Skinnemoen <[email protected]>
|
|
Signed-off-by: Mike Frysinger <[email protected]>
Acked-by: Haavard Skinnemoen <[email protected]>
|
|
- AT45DB321D
- AT45DB161D
- AT45DB081D
- AT45DB041D
- AT45DB021D
- AT45DB011D
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
|
|
Add MTD SPI Flash support for S25FL008A, S25FL016A,
S25FL032A, S25FL064A, S25FL128P.
Signed-off-by: Mingkai Hu <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
|
|
Higher spi flash layers expect to be given back a pointer that was
malloced so that it can free the result, but the lower layers return
a pointer that is in the middle of the malloced memory. Reorder the
members of the lower spi structures so that things work out.
Signed-off-by: Brad Bozarth <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
Acked-by: Haavard Skinnemoen <[email protected]>
|
|
The stmicro_wait_ready() func tries to show the actual opcode that was sent
to the device, but instead it displays the array pointer. Fix it to pull
out the opcode from the start of the array.
Signed-off-by: Mike Frysinger <[email protected]>
|
|
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
|
|
Add MTD SPI Flash support for M25P16, M25P20, M25P32,
M25P40, M25P64, M25P80, M25P128.
Signed-off-by: Jason McMullan <[email protected]>
Signed-off-by: TsiChung Liew <[email protected]>
|
|
Signed-off-by: Stefan Roese <[email protected]>
|
|
This adds a new SPI flash subsystem.
Currently, only AT45 DataFlash in non-power-of-two mode is supported,
but some preliminary support for other flash types is in place as
well.
Signed-off-by: Haavard Skinnemoen <[email protected]>
|