path: root/serprog.c
diff options
authorAidan Thornton <>2013-08-27 18:01:53 +0000
committerStefan Tauner <>2013-08-27 18:01:53 +0000
commitdb4e87dccf040f29dca18571bc455ee23fb430eb (patch)
treed88ea1cd6abaa3cbad69fb447eb6dc0092fbb78e /serprog.c
parent6db8bad530612262a42c492f06816eb85b8598fc (diff)
Add support for Atmel AT45DB* chips
Corresponding to flashrom svn r1723. Signed-off-by: Aidan Thornton <> Signed-off-by: Stefan Tauner <> Acked-by: Stefan Tauner <>
Diffstat (limited to 'serprog.c')
1 files changed, 1 insertions, 2 deletions
diff --git a/serprog.c b/serprog.c
index 4938d4b..237db7d 100644
--- a/serprog.c
+++ b/serprog.c
@@ -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)
OpenPOWER on IntegriCloud