From 2aff7aa03fd8ef96f96330301fc1c73551aef81e Mon Sep 17 00:00:00 2001 From: Sean Nelson Date: Mon, 18 Jan 2010 08:24:02 +0000 Subject: Fix A25L40PU and A2540PT due to incorrect full-chip block size is incorrect Corresponding to flashrom svn r865. Thanks to hailfinger's self-check-erase routine for catching this. Signed-off-by: Sean Nelson Acked-by: Carl-Daniel Hailfinger --- flashchips.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flashchips.c b/flashchips.c index 8e90d2aa..933682dc 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, } }, -- cgit v1.2.3