summaryrefslogtreecommitdiff
path: root/util/flashrom
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
commit108950972504f37cc354f79a0aa0895eae751523 (patch)
tree5ce781a783d38ec139fde2ca2d315e7c5f772725 /util/flashrom
parentb88a1fcd804ecd9f5aeaaf542e741478a11d36ab (diff)
downloadcoreboot-108950972504f37cc354f79a0aa0895eae751523.tar.xz
After verification in datasheets, all MX25 accept the same opcodes
0x60 and 0xC7 for Chip Erase. Signed-off-by: Stephan Guilloux <stephan.guilloux@free.fr> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4146 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom')
-rw-r--r--util/flashrom/flashchips.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c
index a3b0baab38..dae0791180 100644
--- a/util/flashrom/flashchips.c
+++ b/util/flashrom/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,
},