Author: snelson Date: 2010-01-18 09:24:02 +0100 (Mon, 18 Jan 2010) New Revision: 865
Modified: trunk/flashchips.c Log: Fix A25L40PU and A2540PT due to incorrect full-chip block size is incorrect. Thanks to hailfinger's self-check-erase routine for catching this. Signed-off-by: Sean Nelson audiohacked@gmail.com Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Modified: trunk/flashchips.c =================================================================== --- trunk/flashchips.c 2010-01-18 08:14:43 UTC (rev 864) +++ trunk/flashchips.c 2010-01-18 08:24:02 UTC (rev 865) @@ -1181,7 +1181,7 @@ }, .block_erase = spi_block_erase_d8, }, { - .eraseblocks = { {256 * 1024, 1} }, + .eraseblocks = { {512 * 1024, 1} }, .block_erase = spi_block_erase_c7, } }, @@ -1213,7 +1213,7 @@ }, .block_erase = spi_block_erase_d8, }, { - .eraseblocks = { {256 * 1024, 1} }, + .eraseblocks = { {512 * 1024, 1} }, .block_erase = spi_block_erase_c7, } },