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
This commit is contained in:
Stephan Guilloux 2009-04-20 22:54:13 +00:00 committed by Carl-Daniel Hailfinger
parent b88a1fcd80
commit 1089509725
1 changed files with 8 additions and 7 deletions

View File

@ -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,
},