[flashrom] [commit] r934 - trunk

repository service svn at flashrom.org
Sun Mar 14 00:47:10 CET 2010


Author: mkarcher
Date: Sun Mar 14 00:47:09 2010
New Revision: 934
URL: http://flashrom.org/trac/coreboot/changeset/934

Log:
Fix EN29F002 Top/Bottom Boot Block

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>
Acked-by: Sean Nelson <audiohacked at gmail.com>

Modified:
   trunk/flashchips.c

Modified: trunk/flashchips.c
==============================================================================
--- trunk/flashchips.c	Sat Mar 13 18:28:29 2010	(r933)
+++ trunk/flashchips.c	Sun Mar 14 00:47:09 2010	(r934)
@@ -2137,10 +2137,10 @@
 		{
 			{
 				.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 @@
 		{
 			{
 				.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,
 			}, {




More information about the flashrom mailing list