mirror of
https://review.coreboot.org/flashrom.git
synced 2025-06-30 21:52:36 +02:00
Add support for Atmel AT45DB* chips
Corresponding to flashrom svn r1723. Signed-off-by: Aidan Thornton <makosoft@gmail.com> Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:

committed by
Stefan Tauner

parent
6db8bad530
commit
db4e87dccf
@ -922,8 +922,7 @@ static int serprog_spi_send_command(struct flashctx *flash,
|
||||
/* FIXME: This function is optimized so that it does not split each transaction
|
||||
* into chip page_size long blocks unnecessarily like spi_read_chunked. This has
|
||||
* the advantage that it is much faster for most chips, but breaks those with
|
||||
* non-contiguous address space (like AT45DB161D). When spi_read_chunked is
|
||||
* fixed this method can be removed. */
|
||||
* non-continuous reads. When spi_read_chunked is fixed this method can be removed. */
|
||||
static int serprog_spi_read(struct flashctx *flash, uint8_t *buf,
|
||||
unsigned int start, unsigned int len)
|
||||
{
|
||||
|
Reference in New Issue
Block a user