summaryrefslogtreecommitdiff
path: root/serprog.c
diff options
context:
space:
mode:
authorstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2013-08-27 18:01:53 +0000
committerstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2013-08-27 18:01:53 +0000
commitadab1fbfce640421ee3cfdae4bddfc752b5c46bf (patch)
treed88ea1cd6abaa3cbad69fb447eb6dc0092fbb78e /serprog.c
parent215a3ced03b5b083c720f853b027028bd584d9c8 (diff)
downloadflashrom-adab1fbfce640421ee3cfdae4bddfc752b5c46bf.tar.gz
Add support for Atmel AT45DB* chips.
Signed-off-by: Aidan Thornton <makosoft@gmail.com> Signed-off-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1723 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'serprog.c')
-rw-r--r--serprog.c3
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)
{