diff options
author | Sean Nelson <audiohacked@gmail.com> | 2010-01-18 08:24:02 +0000 |
---|---|---|
committer | Sean Nelson <audiohacked@gmail.com> | 2010-01-18 08:24:02 +0000 |
commit | c81cfa4f6cbc042c9ad9bc89248856809077f4d4 (patch) | |
tree | 2a08cfb34d8721c84486cd35bb1671788381bcf4 /flashchips.c | |
parent | 719e243092d7d065bdffd9f3bc70580b880e38b0 (diff) | |
download | flashrom-c81cfa4f6cbc042c9ad9bc89248856809077f4d4.zip flashrom-c81cfa4f6cbc042c9ad9bc89248856809077f4d4.tar.gz |
Fix A25L40PU and A2540PT due to incorrect full-chip block size is incorrect
Thanks to hailfinger's self-check-erase routine for catching this.
Corresponding to flashrom svn r865.
Signed-off-by: Sean Nelson <audiohacked@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flashchips.c')
-rw-r--r-- | flashchips.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/flashchips.c b/flashchips.c index 8e90d2a..933682d 100644 --- a/flashchips.c +++ b/flashchips.c @@ -1181,7 +1181,7 @@ struct flashchip flashchips[] = { }, .block_erase = spi_block_erase_d8, }, { - .eraseblocks = { {256 * 1024, 1} }, + .eraseblocks = { {512 * 1024, 1} }, .block_erase = spi_block_erase_c7, } }, @@ -1213,7 +1213,7 @@ struct flashchip flashchips[] = { }, .block_erase = spi_block_erase_d8, }, { - .eraseblocks = { {256 * 1024, 1} }, + .eraseblocks = { {512 * 1024, 1} }, .block_erase = spi_block_erase_c7, } }, |