[coreboot] [flashrom][PATCH] MX25L1605 and 1635 accept Chip Erase opcodes 60 and C7

stephan.guilloux at free.fr stephan.guilloux at free.fr
Mon Apr 20 01:21:04 CEST 2009


  Hello,

As seen in the specs these 2 chips accept CE (Chip Erase) opcodes 60 and C7.
Below a patch to fix flashrom accordingly. Also available in attachment.

Make good use of it.

Signed-off-by: Stephan Guilloux <stephan.guilloux at free.fr>
Index: flashrom/flashchips.c
===================================================================
--- flashrom/flashchips.c	(révision 4138)
+++ flashrom/flashchips.c	(copie de travail)
@@ -806,7 +806,7 @@
 		.page_size	= 256,
 		.tested		= TEST_UNTESTED,
 		.probe		= probe_spi_rdid,
-		.erase		= spi_chip_erase_c7,
+		.erase		= spi_chip_erase_60_c7,
 		.write		= spi_chip_write,
 		.read		= spi_chip_read,
 	},
@@ -820,7 +820,7 @@
 		.page_size	= 256,
 		.tested		= TEST_UNTESTED,
 		.probe		= probe_spi_rdid,
-		.erase		= spi_chip_erase_c7,
+		.erase		= spi_chip_erase_60_c7,
 		.write		= spi_chip_write,
 		.read		= spi_chip_read,
 	},
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flashrom-macronix-1605-1635-chip_erase_60_C7.patch
Type: text/x-diff
Size: 639 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090420/e5e70175/attachment.bin>


More information about the coreboot mailing list