summaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
authorStephan Guilloux <stephan.guilloux@free.fr>2009-04-20 22:54:13 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-04-20 22:54:13 +0000
commitfd31550168cf05441d8f746e8db08ea1352770bd (patch)
treeac1d7ca5c08d2ef8b48b1089144977a02f0ea9f3 /flashchips.c
parentc5210168df9400191f6e9d9527dc5bc45fe03b40 (diff)
downloadflashrom-fd31550168cf05441d8f746e8db08ea1352770bd.tar.gz
flashrom-fd31550168cf05441d8f746e8db08ea1352770bd.tar.bz2
flashrom-fd31550168cf05441d8f746e8db08ea1352770bd.zip
After verification in datasheets, all MX25 accept the same opcodes 0x60 and 0xC7 for Chip Erase
Corresponding to flashrom svn r435 and coreboot v2 svn r4146. Signed-off-by: Stephan Guilloux <stephan.guilloux@free.fr> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flashchips.c')
-rw-r--r--flashchips.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/flashchips.c b/flashchips.c
index a3b0baab3..dae079118 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -736,7 +736,7 @@ struct flashchip flashchips[] = {
.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,
},
@@ -750,7 +750,7 @@ struct flashchip flashchips[] = {
.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,
},
@@ -764,7 +764,7 @@ struct flashchip flashchips[] = {
.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,
},
@@ -778,7 +778,7 @@ struct flashchip flashchips[] = {
.page_size = 256,
.tested = TEST_OK_PREW,
.probe = probe_spi_rdid,
- .erase = spi_chip_erase_c7,
+ .erase = spi_chip_erase_60_c7,
.write = spi_chip_write,
.read = spi_chip_read,
},
@@ -792,7 +792,7 @@ struct flashchip flashchips[] = {
.page_size = 256,
.tested = TEST_OK_PREW,
.probe = probe_spi_rdid,
- .erase = spi_chip_erase_c7,
+ .erase = spi_chip_erase_60_c7,
.write = spi_chip_write,
.read = spi_chip_read,
},
@@ -824,6 +824,7 @@ struct flashchip flashchips[] = {
.write = spi_chip_write,
.read = spi_chip_read,
},
+
{
.vendor = "Macronix",
.name = "MX25L3205",
@@ -833,7 +834,7 @@ struct flashchip flashchips[] = {
.page_size = 256,
.tested = TEST_OK_PREW,
.probe = probe_spi_rdid,
- .erase = spi_chip_erase_c7,
+ .erase = spi_chip_erase_60_c7,
.write = spi_chip_write,
.read = spi_chip_read,
},
@@ -847,7 +848,7 @@ struct flashchip flashchips[] = {
.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,
},