Author: stefanct Date: Sun Aug 25 15:31:43 2013 New Revision: 1722 URL: http://flashrom.org/trac/flashrom/changeset/1722
Log: Add support for Fujitsu MBM29LV160BE/TE.
Signed-off-by: Stefan Tauner stefan.tauner@student.tuwien.ac.at Acked-by: Stefan Tauner stefan.tauner@student.tuwien.ac.at
Modified: trunk/flashchips.c trunk/flashchips.h
Modified: trunk/flashchips.c ============================================================================== --- trunk/flashchips.c Sun Aug 25 02:10:56 2013 (r1721) +++ trunk/flashchips.c Sun Aug 25 15:31:43 2013 (r1722) @@ -4580,6 +4580,70 @@ },
{ + .vendor = "Fujitsu", + .name = "MBM29LV160BE", + .bustype = BUS_PARALLEL, + .manufacture_id = FUJITSU_ID, + .model_id = FUJITSU_MBM29LV160BE, + .total_size = 2 * 1024, + .page_size = 0, + .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_SHORT_RESET, + .tested = TEST_UNTESTED, + .probe = probe_m29f400bt, + .probe_timing = TIMING_IGNORED, + .block_erasers = + { + { + .eraseblocks = { + {16 * 1024, 1}, + {8 * 1024, 2}, + {32 * 1024, 1}, + {64 * 1024, 31}, + }, + .block_erase = block_erase_m29f400bt, + }, { + .eraseblocks = { {2048 * 1024, 1} }, + .block_erase = block_erase_chip_m29f400bt, + }, + }, + .write = write_m29f400bt, /* Supports a fast mode too */ + .read = read_memmapped, + .voltage = {3000, 3600}, /* 3.0-3.6V for type -70, others 2.7-3.6V */ + }, + + { + .vendor = "Fujitsu", + .name = "MBM29LV160TE", + .bustype = BUS_PARALLEL, + .manufacture_id = FUJITSU_ID, + .model_id = FUJITSU_MBM29LV160TE, + .total_size = 2 * 1024, + .page_size = 0, + .feature_bits = FEATURE_ADDR_SHIFTED | FEATURE_SHORT_RESET, + .tested = TEST_UNTESTED, + .probe = probe_m29f400bt, + .probe_timing = TIMING_IGNORED, + .block_erasers = + { + { + .eraseblocks = { + {64 * 1024, 31}, + {32 * 1024, 1}, + {8 * 1024, 2}, + {16 * 1024, 1}, + }, + .block_erase = block_erase_m29f400bt, + }, { + .eraseblocks = { {2048 * 1024, 1} }, + .block_erase = block_erase_chip_m29f400bt, + }, + }, + .write = write_m29f400bt, /* Supports a fast mode too */ + .read = read_memmapped, + .voltage = {3000, 3600}, /* 3.0-3.6V for type -70, others 2.7-3.6V */ + }, + + { .vendor = "GigaDevice", .name = "GD25LQ32", .bustype = BUS_SPI,
Modified: trunk/flashchips.h ============================================================================== --- trunk/flashchips.h Sun Aug 25 02:10:56 2013 (r1721) +++ trunk/flashchips.h Sun Aug 25 15:31:43 2013 (r1722) @@ -332,6 +332,8 @@ #define FUJITSU_MBM29LV400TC 0xB9 #define FUJITSU_MBM29LV800BA 0x5B /* Same as MBM29LV800BE */ #define FUJITSU_MBM29LV800TA 0xDA /* Same as MBM29LV800TE */ +#define FUJITSU_MBM29LV160BE 0x49 /* 16 b mode 0x2249 */ +#define FUJITSU_MBM29LV160TE 0xC4 /* 16 b mode 0x22C4 */
#define GIGADEVICE_ID 0xC8 /* GigaDevice */ #define GIGADEVICE_GD25T80 0x3114