diff options
| author | Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> | 2010-03-13 23:47:09 +0000 | 
|---|---|---|
| committer | Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> | 2010-03-13 23:47:09 +0000 | 
| commit | e3cb0a13bf4bf60b61486cb3eb1031014bc45866 (patch) | |
| tree | cee8034e82c73014e528de6304ae1f3ae374aa81 | |
| parent | 439597032eae0f41745d9173805945c5c85475eb (diff) | |
| download | flashrom-e3cb0a13bf4bf60b61486cb3eb1031014bc45866.tar.gz flashrom-e3cb0a13bf4bf60b61486cb3eb1031014bc45866.tar.bz2 flashrom-e3cb0a13bf4bf60b61486cb3eb1031014bc45866.zip | |
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.
Corresponding to flashrom svn r934.
Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Sean Nelson <audiohacked@gmail.com>
| -rw-r--r-- | flashchips.c | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/flashchips.c b/flashchips.c index 24736d44..1c30edc4 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,  			}, { | 
