From 108950972504f37cc354f79a0aa0895eae751523 Mon Sep 17 00:00:00 2001 From: Stephan Guilloux Date: Mon, 20 Apr 2009 22:54:13 +0000 Subject: After verification in datasheets, all MX25 accept the same opcodes 0x60 and 0xC7 for Chip Erase. Signed-off-by: Stephan Guilloux Acked-by: Carl-Daniel Hailfinger git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4146 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/flashchips.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'util') 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, }, -- cgit v1.2.3