mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-28 15:33:42 +02:00
Add all Eon EN25* SPI chips
Some IDs were already in flash.h. EN25B05 EN25B10 EN25B20 EN25B40 EN25B80 EN25B16 EN25B32 EN25B64 EN25F40 EN25F80 EN25F16 EN25P* are supported as well, but they seem to be identical to EN25B. Corresponding to flashrom svn r580. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
0bd2a2bdc1
commit
80243c908a
4
flash.h
4
flash.h
@ -360,6 +360,10 @@ extern const struct board_info boards_bad[];
|
|||||||
#define EN_25B80 0x2014
|
#define EN_25B80 0x2014
|
||||||
#define EN_25B16 0x2015
|
#define EN_25B16 0x2015
|
||||||
#define EN_25B32 0x2016
|
#define EN_25B32 0x2016
|
||||||
|
#define EN_25B64 0x2017
|
||||||
|
#define EN_25F40 0x3113
|
||||||
|
#define EN_25F80 0x3114
|
||||||
|
#define EN_25F16 0x3115
|
||||||
#define EN_29F512 0x7F21
|
#define EN_29F512 0x7F21
|
||||||
#define EN_29F010 0x7F20
|
#define EN_29F010 0x7F20
|
||||||
#define EN_29F040A 0x7F04
|
#define EN_29F040A 0x7F04
|
||||||
|
176
flashchips.c
176
flashchips.c
@ -776,6 +776,182 @@ struct flashchip flashchips[] = {
|
|||||||
.read = read_memmapped,
|
.read = read_memmapped,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
.vendor = "Eon",
|
||||||
|
.name = "EN25B05",
|
||||||
|
.bustype = CHIP_BUSTYPE_SPI,
|
||||||
|
.manufacture_id = EON_ID,
|
||||||
|
.model_id = EN_25B05,
|
||||||
|
.total_size = 64,
|
||||||
|
.page_size = 256,
|
||||||
|
.tested = TEST_UNTESTED,
|
||||||
|
.probe = probe_spi_rdid,
|
||||||
|
.probe_timing = TIMING_ZERO,
|
||||||
|
.erase = spi_chip_erase_c7,
|
||||||
|
.write = spi_chip_write_256,
|
||||||
|
.read = spi_chip_read,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
.vendor = "Eon",
|
||||||
|
.name = "EN25B10",
|
||||||
|
.bustype = CHIP_BUSTYPE_SPI,
|
||||||
|
.manufacture_id = EON_ID,
|
||||||
|
.model_id = EN_25B10,
|
||||||
|
.total_size = 128,
|
||||||
|
.page_size = 256,
|
||||||
|
.tested = TEST_UNTESTED,
|
||||||
|
.probe = probe_spi_rdid,
|
||||||
|
.probe_timing = TIMING_ZERO,
|
||||||
|
.erase = spi_chip_erase_c7,
|
||||||
|
.write = spi_chip_write_256,
|
||||||
|
.read = spi_chip_read,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
.vendor = "Eon",
|
||||||
|
.name = "EN25B20",
|
||||||
|
.bustype = CHIP_BUSTYPE_SPI,
|
||||||
|
.manufacture_id = EON_ID,
|
||||||
|
.model_id = EN_25B20,
|
||||||
|
.total_size = 256,
|
||||||
|
.page_size = 256,
|
||||||
|
.tested = TEST_UNTESTED,
|
||||||
|
.probe = probe_spi_rdid,
|
||||||
|
.probe_timing = TIMING_ZERO,
|
||||||
|
.erase = spi_chip_erase_c7,
|
||||||
|
.write = spi_chip_write_256,
|
||||||
|
.read = spi_chip_read,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
.vendor = "Eon",
|
||||||
|
.name = "EN25B40",
|
||||||
|
.bustype = CHIP_BUSTYPE_SPI,
|
||||||
|
.manufacture_id = EON_ID,
|
||||||
|
.model_id = EN_25B40,
|
||||||
|
.total_size = 512,
|
||||||
|
.page_size = 256,
|
||||||
|
.tested = TEST_UNTESTED,
|
||||||
|
.probe = probe_spi_rdid,
|
||||||
|
.probe_timing = TIMING_ZERO,
|
||||||
|
.erase = spi_chip_erase_c7,
|
||||||
|
.write = spi_chip_write_256,
|
||||||
|
.read = spi_chip_read,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
.vendor = "Eon",
|
||||||
|
.name = "EN25B80",
|
||||||
|
.bustype = CHIP_BUSTYPE_SPI,
|
||||||
|
.manufacture_id = EON_ID,
|
||||||
|
.model_id = EN_25B80,
|
||||||
|
.total_size = 1024,
|
||||||
|
.page_size = 256,
|
||||||
|
.tested = TEST_UNTESTED,
|
||||||
|
.probe = probe_spi_rdid,
|
||||||
|
.probe_timing = TIMING_ZERO,
|
||||||
|
.erase = spi_chip_erase_c7,
|
||||||
|
.write = spi_chip_write_256,
|
||||||
|
.read = spi_chip_read,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
.vendor = "Eon",
|
||||||
|
.name = "EN25B16",
|
||||||
|
.bustype = CHIP_BUSTYPE_SPI,
|
||||||
|
.manufacture_id = EON_ID,
|
||||||
|
.model_id = EN_25B16,
|
||||||
|
.total_size = 2048,
|
||||||
|
.page_size = 256,
|
||||||
|
.tested = TEST_UNTESTED,
|
||||||
|
.probe = probe_spi_rdid,
|
||||||
|
.probe_timing = TIMING_ZERO,
|
||||||
|
.erase = spi_chip_erase_c7,
|
||||||
|
.write = spi_chip_write_256,
|
||||||
|
.read = spi_chip_read,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
.vendor = "Eon",
|
||||||
|
.name = "EN25B32",
|
||||||
|
.bustype = CHIP_BUSTYPE_SPI,
|
||||||
|
.manufacture_id = EON_ID,
|
||||||
|
.model_id = EN_25B32,
|
||||||
|
.total_size = 4096,
|
||||||
|
.page_size = 256,
|
||||||
|
.tested = TEST_UNTESTED,
|
||||||
|
.probe = probe_spi_rdid,
|
||||||
|
.probe_timing = TIMING_ZERO,
|
||||||
|
.erase = spi_chip_erase_c7,
|
||||||
|
.write = spi_chip_write_256,
|
||||||
|
.read = spi_chip_read,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
.vendor = "Eon",
|
||||||
|
.name = "EN25B64",
|
||||||
|
.bustype = CHIP_BUSTYPE_SPI,
|
||||||
|
.manufacture_id = EON_ID,
|
||||||
|
.model_id = EN_25B64,
|
||||||
|
.total_size = 8192,
|
||||||
|
.page_size = 256,
|
||||||
|
.tested = TEST_UNTESTED,
|
||||||
|
.probe = probe_spi_rdid,
|
||||||
|
.probe_timing = TIMING_ZERO,
|
||||||
|
.erase = spi_chip_erase_c7,
|
||||||
|
.write = spi_chip_write_256,
|
||||||
|
.read = spi_chip_read,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
.vendor = "Eon",
|
||||||
|
.name = "EN25F40",
|
||||||
|
.bustype = CHIP_BUSTYPE_SPI,
|
||||||
|
.manufacture_id = EON_ID,
|
||||||
|
.model_id = EN_25F40,
|
||||||
|
.total_size = 512,
|
||||||
|
.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 = "EN25F80",
|
||||||
|
.bustype = CHIP_BUSTYPE_SPI,
|
||||||
|
.manufacture_id = EON_ID,
|
||||||
|
.model_id = EN_25F80,
|
||||||
|
.total_size = 1024,
|
||||||
|
.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 = "EN25F16",
|
||||||
|
.bustype = CHIP_BUSTYPE_SPI,
|
||||||
|
.manufacture_id = EON_ID,
|
||||||
|
.model_id = EN_25F16,
|
||||||
|
.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",
|
.vendor = "EON",
|
||||||
.name = "EN29F002(A)(N)B",
|
.name = "EN29F002(A)(N)B",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user