mirror of
				https://review.coreboot.org/flashrom.git
				synced 2025-10-31 13:20:42 +01:00 
			
		
		
		
	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>
This commit is contained in:
		
							
								
								
									
										12
									
								
								flashchips.c
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								flashchips.c
									
									
									
									
									
								
							| @@ -2137,10 +2137,10 @@ struct flashchip flashchips[] = { | |||||||
| 		{ | 		{ | ||||||
| 			{ | 			{ | ||||||
| 				.eraseblocks = {  | 				.eraseblocks = {  | ||||||
| 					{64 * 1024, 3}, |  | ||||||
| 					{32 * 1024, 1}, |  | ||||||
| 					{8 * 1024, 2}, |  | ||||||
| 					{16 * 1024, 1}, | 					{16 * 1024, 1}, | ||||||
|  | 					{8 * 1024, 2}, | ||||||
|  | 					{32 * 1024, 1}, | ||||||
|  | 					{64 * 1024, 3}, | ||||||
| 				}, | 				}, | ||||||
| 				.block_erase = erase_sector_jedec, | 				.block_erase = erase_sector_jedec, | ||||||
| 			}, { | 			}, { | ||||||
| @@ -2168,10 +2168,10 @@ struct flashchip flashchips[] = { | |||||||
| 		{ | 		{ | ||||||
| 			{ | 			{ | ||||||
| 				.eraseblocks = {  | 				.eraseblocks = {  | ||||||
| 					{16 * 1024, 1}, |  | ||||||
| 					{8 * 1024, 2}, |  | ||||||
| 					{32 * 1024, 1}, |  | ||||||
| 					{64 * 1024, 3}, | 					{64 * 1024, 3}, | ||||||
|  | 					{32 * 1024, 1}, | ||||||
|  | 					{8 * 1024, 2}, | ||||||
|  | 					{16 * 1024, 1}, | ||||||
| 				}, | 				}, | ||||||
| 				.block_erase = erase_sector_jedec, | 				.block_erase = erase_sector_jedec, | ||||||
| 			}, { | 			}, { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Michael Karcher
					Michael Karcher