Author: stefanct Date: Mon May 21 01:32:33 2012 New Revision: 1539 URL: http://flashrom.org/trac/flashrom/changeset/1539
Log: 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.
Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com Acked-by: Paul Menzel paulepanter@users.sourceforge.net
Modified: trunk/flashchips.c
Modified: trunk/flashchips.c ============================================================================== --- trunk/flashchips.c Wed May 16 02:15:53 2012 (r1538) +++ trunk/flashchips.c Mon May 21 01:32:33 2012 (r1539) @@ -5803,7 +5803,37 @@ .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",