Author: hailfinger Date: Mon Jun 21 18:12:22 2010 New Revision: 1056 URL: http://flashrom.org/trac/coreboot/changeset/1056
Log: Add support for Hyundai HY29F002 and HY29F002B.
Signed-off-by: David Borg borg.db@gmail.com Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Modified: trunk/flashchips.c trunk/flashchips.h
Modified: trunk/flashchips.c ============================================================================== --- trunk/flashchips.c Sun Jun 20 13:04:26 2010 (r1055) +++ trunk/flashchips.c Mon Jun 21 18:12:22 2010 (r1056) @@ -2363,6 +2363,68 @@ },
{ + .vendor = "Hyundai", + .name = "HY29F002T", + .bustype = CHIP_BUSTYPE_PARALLEL, + .manufacture_id = HYUNDAI_ID, + .model_id = HY_29F002T, + .total_size = 256, + .page_size = 256 * 1024, + .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ + .tested = TEST_OK_PREW, + .probe = probe_jedec, + .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ + .block_erasers = + { + { + .eraseblocks = { + {64 * 1024, 3}, + {32 * 1024, 1}, + {8 * 1024, 2}, + {16 * 1024, 1}, + }, + .block_erase = erase_sector_jedec, + }, { + .eraseblocks = { {256 * 1024, 1} }, + .block_erase = erase_chip_block_jedec, + }, + }, + .write = write_jedec_1, + .read = read_memmapped, + }, + + { + .vendor = "Hyundai", + .name = "HY29F002B", + .bustype = CHIP_BUSTYPE_PARALLEL, + .manufacture_id = HYUNDAI_ID, + .model_id = HY_29F002B, + .total_size = 256, + .page_size = 256 * 1024, + .feature_bits = FEATURE_EITHER_RESET, /* Some revisions may need FEATURE_ADDR_2AA */ + .tested = TEST_UNTESTED, + .probe = probe_jedec, + .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ + .block_erasers = + { + { + .eraseblocks = { + {16 * 1024, 1}, + {8 * 1024, 2}, + {32 * 1024, 1}, + {64 * 1024, 3}, + }, + .block_erase = erase_sector_jedec, + }, { + .eraseblocks = { {256 * 1024, 1} }, + .block_erase = erase_chip_block_jedec, + }, + }, + .write = write_jedec_1, + .read = read_memmapped, + }, + + { .vendor = "Intel", .name = "28F001BX-B", .bustype = CHIP_BUSTYPE_PARALLEL,
Modified: trunk/flashchips.h ============================================================================== --- trunk/flashchips.h Sun Jun 20 13:04:26 2010 (r1055) +++ trunk/flashchips.h Mon Jun 21 18:12:22 2010 (r1056) @@ -242,7 +242,8 @@ #define HY_29LV800B 0x5B #define HY_29F040A 0xA4 #define HY_29F400B 0xAB /* Same as HY_29F400AB */ -#define HY_29F002 0xB0 +#define HY_29F002B 0x34 +#define HY_29F002T 0xB0 #define HY_29LV400T 0xB9 #define HY_29LV400B 0xBA #define HY_29F080 0xD5