diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2012-05-20 23:32:33 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-05-20 23:32:33 +0000 |
commit | edab1d2bc08777a8aab639687f220e7dbebd8c1b (patch) | |
tree | 2120680feab48d6305d099e510aac09446cd9e32 | |
parent | 27c8c6cbcb9fa35a726601764b54079d10b921ac (diff) | |
download | flashrom-edab1d2bc08777a8aab639687f220e7dbebd8c1b.tar.gz flashrom-edab1d2bc08777a8aab639687f220e7dbebd8c1b.tar.bz2 flashrom-edab1d2bc08777a8aab639687f220e7dbebd8c1b.zip |
Add support for PMC Pm39LV512
This flash is like PMC model Pm39LV010 but capacity is 64kB.
Model ID was already defined. PREW works for me.
Corresponding to flashrom svn r1539.
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r-- | flashchips.c | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/flashchips.c b/flashchips.c index 47367139..0c9f6c4e 100644 --- a/flashchips.c +++ b/flashchips.c @@ -5803,7 +5803,37 @@ const struct flashchip flashchips[] = { .read = read_memmapped, .voltage = {2700, 3600}, }, - + + { + .vendor = "PMC", + .name = "Pm39LV512", + .bustype = BUS_PARALLEL, + .manufacture_id = PMC_ID_NOPREFIX, + .model_id = PMC_PM39LV512, + .total_size = 64, + .page_size = 4096, + .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET, + .tested = TEST_OK_PREW, + .probe = probe_jedec, + .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ + .block_erasers = + { + { + .eraseblocks = { {4 * 1024, 16} }, + .block_erase = erase_sector_jedec, + }, { + .eraseblocks = { {64 * 1024, 1} }, + .block_erase = erase_block_jedec, + }, { + .eraseblocks = { {64 * 1024, 1} }, + .block_erase = erase_chip_block_jedec, + } + }, + .write = write_jedec_1, + .read = read_memmapped, + .voltage = {2700, 3600}, + }, + { .vendor = "PMC", .name = "Pm49FL002", |