[flashrom] [PATCH] Fix EN29F002 Top/Bottom Boot Block

Michael Karcher flashrom at mkarcher.dialup.fu-berlin.de
Sun Mar 14 00:22:34 CET 2010


See http://www.coreboot.org/pipermail/flashrom/2010-March/002480.html
for effects of mixup: blockwise erase will fail, fallback to chip
erase works.

Signed-off-by: Michael Karcher <flashrom at mkarcher.dialup.fu-berlin.de>
---
 flashchips.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/flashchips.c b/flashchips.c
index 24736d4..1c30edc 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -2137,10 +2137,10 @@ struct flashchip flashchips[] = {
 		{
 			{
 				.eraseblocks = { 
-					{64 * 1024, 3},
-					{32 * 1024, 1},
-					{8 * 1024, 2},
 					{16 * 1024, 1},
+					{8 * 1024, 2},
+					{32 * 1024, 1},
+					{64 * 1024, 3},
 				},
 				.block_erase = erase_sector_jedec,
 			}, {
@@ -2168,10 +2168,10 @@ struct flashchip flashchips[] = {
 		{
 			{
 				.eraseblocks = { 
-					{16 * 1024, 1},
-					{8 * 1024, 2},
-					{32 * 1024, 1},
 					{64 * 1024, 3},
+					{32 * 1024, 1},
+					{8 * 1024, 2},
+					{16 * 1024, 1},
 				},
 				.block_erase = erase_sector_jedec,
 			}, {
-- 
1.7.0





More information about the flashrom mailing list