diff --git a/flashchips.c b/flashchips.c index 4db89aba00f3990a39be2289940c01bf08f61725..a82c3732b531d6d65f372ba311373c12eff39945 100644 --- a/flashchips.c +++ b/flashchips.c @@ -1070,6 +1070,29 @@ struct flashchip flashchips[] = { .read = read_memmapped, }, + { + .vendor = "Atmel", + .name = "AT49F020", + .bustype = CHIP_BUSTYPE_PARALLEL, + .manufacture_id = ATMEL_ID, + .model_id = AT_49F020, + .total_size = 256, + .page_size = 256, + .feature_bits = FEATURE_EITHER_RESET, + .tested = TEST_OK_PREW, + .probe = probe_jedec, + .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */ + .block_erasers = + { + { + .eraseblocks = { {256 * 1024, 1} }, + .block_erase = erase_chip_block_jedec, + } + }, + .write = write_jedec_1, + .read = read_memmapped, + }, + { .vendor = "Atmel", .name = "AT49F002(N)", diff --git a/flashchips.h b/flashchips.h index bfd8145a73a29efad398d18f082d4ce00a17291a..9b42235b018640d2a35d69561c89f25f0307fe58 100644 --- a/flashchips.h +++ b/flashchips.h @@ -144,6 +144,7 @@ #define AT_45DB642 /* No ID available */ #define AT_45DB642D 0x2800 #define AT_49BV512 0x03 +#define AT_49F020 0x0B #define AT_49F002N 0x07 /* for AT49F002(N) */ #define AT_49F002NT 0x08 /* for AT49F002(N)T */