diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2015-12-25 22:13:15 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2015-12-25 22:13:15 +0000 |
commit | 2f055dfba97a2798ab10ec6cbbac760346a4cebe (patch) | |
tree | c61146274fa1b82243e8dd659f82cb8a9c9547af /flashchips.c | |
parent | 1668770c6fe7308939f208c265328a8ef92b6ac1 (diff) | |
download | flashrom-2f055dfba97a2798ab10ec6cbbac760346a4cebe.tar.gz flashrom-2f055dfba97a2798ab10ec6cbbac760346a4cebe.tar.bz2 flashrom-2f055dfba97a2798ab10ec6cbbac760346a4cebe.zip |
Add support for Sanyo LE25FU406C/LE25U40CMC
Corresponding to flashrom svn r1903.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Tested-by: Jose Luis León <zenky1@gmail.com>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'flashchips.c')
-rw-r--r-- | flashchips.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c index 908b8a9e..48c8c465 100644 --- a/flashchips.c +++ b/flashchips.c @@ -10675,6 +10675,43 @@ const struct flashchip flashchips[] = { { .vendor = "Sanyo", + .name = "LE25FU406C/LE25U40CMC", + .bustype = BUS_SPI, + .manufacture_id = SANYO_ID, + .model_id = SANYO_LE25FU406C, + .total_size = 512, + .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, + .tested = TEST_OK_PR, + .probe = probe_spi_rdid, + .probe_timing = TIMING_ZERO, + .block_erasers = { + { + .eraseblocks = { {4 * 1024, 128} }, + .block_erase = spi_block_erase_20, + }, { + .eraseblocks = { {4 * 1024, 128} }, + .block_erase = spi_block_erase_d7, + }, { + .eraseblocks = { {64 * 1024, 8} }, + .block_erase = spi_block_erase_d8, + }, { + .eraseblocks = { {512 * 1024, 1} }, + .block_erase = spi_block_erase_60, + }, { + .eraseblocks = { {512 * 1024, 1} }, + .block_erase = spi_block_erase_c7, + } + }, + .printlock = spi_prettyprint_status_register_bp2_srwd, + .unlock = spi_disable_blockprotect_bp2_srwd, + .write = spi_chip_write_256, + .read = spi_chip_read, /* Fast read (0x0B), dual read (0x3B) and dual I/O (0xBB) supported */ + .voltage = {2300, 3600}, + }, + + { + .vendor = "Sanyo", .name = "LE25FW203A", .bustype = BUS_SPI, .manufacture_id = SANYO_ID, |