1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 14:33:18 +02:00

Add or refine support for a number of EON flash chips

Fix the vendor ID of EN25B05, EN25B10, EN25B20, EN25B40, EN25B80,
EN25B16, EN25B32, EN25B64 EN25F40, EN25F80, EN25F16.

Add support for EN25P05, EN25P10, EN25P20, EN25P40, EN25P80, EN25P16,
EN25P32, EN25P64 EN25D16 EN25F05, EN25F10, EN25F20, EN25F32

Corresponding to flashrom svn r592.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:
Carl-Daniel Hailfinger
2009-06-15 12:10:57 +00:00
parent 8dfea838ad
commit a0a6ae9593
2 changed files with 105 additions and 19 deletions

View File

@ -780,7 +780,7 @@ struct flashchip flashchips[] = {
.vendor = "Eon",
.name = "EN25B05",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = EON_ID,
.manufacture_id = EON_ID_NOPREFIX,
.model_id = EN_25B05,
.total_size = 64,
.page_size = 256,
@ -796,7 +796,7 @@ struct flashchip flashchips[] = {
.vendor = "Eon",
.name = "EN25B10",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = EON_ID,
.manufacture_id = EON_ID_NOPREFIX,
.model_id = EN_25B10,
.total_size = 128,
.page_size = 256,
@ -812,7 +812,7 @@ struct flashchip flashchips[] = {
.vendor = "Eon",
.name = "EN25B20",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = EON_ID,
.manufacture_id = EON_ID_NOPREFIX,
.model_id = EN_25B20,
.total_size = 256,
.page_size = 256,
@ -828,7 +828,7 @@ struct flashchip flashchips[] = {
.vendor = "Eon",
.name = "EN25B40",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = EON_ID,
.manufacture_id = EON_ID_NOPREFIX,
.model_id = EN_25B40,
.total_size = 512,
.page_size = 256,
@ -844,7 +844,7 @@ struct flashchip flashchips[] = {
.vendor = "Eon",
.name = "EN25B80",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = EON_ID,
.manufacture_id = EON_ID_NOPREFIX,
.model_id = EN_25B80,
.total_size = 1024,
.page_size = 256,
@ -860,7 +860,7 @@ struct flashchip flashchips[] = {
.vendor = "Eon",
.name = "EN25B16",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = EON_ID,
.manufacture_id = EON_ID_NOPREFIX,
.model_id = EN_25B16,
.total_size = 2048,
.page_size = 256,
@ -876,7 +876,7 @@ struct flashchip flashchips[] = {
.vendor = "Eon",
.name = "EN25B32",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = EON_ID,
.manufacture_id = EON_ID_NOPREFIX,
.model_id = EN_25B32,
.total_size = 4096,
.page_size = 256,
@ -892,7 +892,7 @@ struct flashchip flashchips[] = {
.vendor = "Eon",
.name = "EN25B64",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = EON_ID,
.manufacture_id = EON_ID_NOPREFIX,
.model_id = EN_25B64,
.total_size = 8192,
.page_size = 256,
@ -904,11 +904,75 @@ struct flashchip flashchips[] = {
.read = spi_chip_read,
},
{
.vendor = "Eon",
.name = "EN25D16",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = EON_ID_NOPREFIX,
.model_id = EN_25D16,
.total_size = 2048,
.page_size = 256,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
.erase = spi_chip_erase_60_c7,
.write = spi_chip_write_256,
.read = spi_chip_read,
},
{
.vendor = "Eon",
.name = "EN25F05",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = EON_ID_NOPREFIX,
.model_id = EN_25F05,
.total_size = 64,
.page_size = 256,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
.erase = spi_chip_erase_60_c7,
.write = spi_chip_write_256,
.read = spi_chip_read,
},
{
.vendor = "Eon",
.name = "EN25F10",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = EON_ID_NOPREFIX,
.model_id = EN_25F10,
.total_size = 128,
.page_size = 256,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
.erase = spi_chip_erase_60_c7,
.write = spi_chip_write_256,
.read = spi_chip_read,
},
{
.vendor = "Eon",
.name = "EN25F20",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = EON_ID_NOPREFIX,
.model_id = EN_25F20,
.total_size = 256,
.page_size = 256,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
.erase = spi_chip_erase_60_c7,
.write = spi_chip_write_256,
.read = spi_chip_read,
},
{
.vendor = "Eon",
.name = "EN25F40",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = EON_ID,
.manufacture_id = EON_ID_NOPREFIX,
.model_id = EN_25F40,
.total_size = 512,
.page_size = 256,
@ -924,7 +988,7 @@ struct flashchip flashchips[] = {
.vendor = "Eon",
.name = "EN25F80",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = EON_ID,
.manufacture_id = EON_ID_NOPREFIX,
.model_id = EN_25F80,
.total_size = 1024,
.page_size = 256,
@ -940,7 +1004,7 @@ struct flashchip flashchips[] = {
.vendor = "Eon",
.name = "EN25F16",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = EON_ID,
.manufacture_id = EON_ID_NOPREFIX,
.model_id = EN_25F16,
.total_size = 2048,
.page_size = 256,
@ -952,6 +1016,22 @@ struct flashchip flashchips[] = {
.read = spi_chip_read,
},
{
.vendor = "Eon",
.name = "EN25F32",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = EON_ID_NOPREFIX,
.model_id = EN_25F32,
.total_size = 4096,
.page_size = 256,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
.erase = spi_chip_erase_60_c7,
.write = spi_chip_write_256,
.read = spi_chip_read,
},
{
.vendor = "EON",
.name = "EN29F002(A)(N)B",