diff options
Diffstat (limited to 'util/flashrom')
-rw-r--r-- | util/flashrom/flash.h | 2 | ||||
-rw-r--r-- | util/flashrom/flashchips.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index ccb3665129..a4822e8b07 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/flash.h @@ -79,7 +79,7 @@ extern struct flashchip flashchips[]; #define MSYSTEMS_MD2800 0x30 /* hmm -- both 0x30 */ #define MSYSTEMS_MD2802 0x30 /* hmm -- both 0x30 */ -#define SM_ID 0x40 /* SyncMOS ID */ +#define SYNCMOS_ID 0x40 /* SyncMOS ID */ #define S29C51001T 0x01 /* SyncMOS S29C51001T/B */ #define S29C51002T 0x02 /* SyncMOS S29C51002T/B */ #define S29C51004T 0x03 /* SyncMOS S29C51004T/B */ diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c index c1ee4eb647..50152091ad 100644 --- a/util/flashrom/flashchips.c +++ b/util/flashrom/flashchips.c @@ -114,13 +114,13 @@ struct flashchip flashchips[] = { #endif {"LHF00L04", SHARP_ID, SHARP_LHF00L04, NULL, 1024, 64 * 1024, probe_lhf00l04, erase_lhf00l04, write_lhf00l04, NULL}, - {"S29C51001T", SM_ID, S29C51001T, NULL, 128, 128, + {"S29C51001T", SYNCMOS_ID, S29C51001T, NULL, 128, 128, probe_jedec, erase_chip_jedec, write_49f002, NULL}, - {"S29C51002T", SM_ID, S29C51002T, NULL, 256, 128, + {"S29C51002T", SYNCMOS_ID, S29C51002T, NULL, 256, 128, probe_jedec, erase_chip_jedec, write_49f002, NULL}, - {"S29C51004T", SM_ID, S29C51004T, NULL, 512, 128, + {"S29C51004T", SYNCMOS_ID, S29C51004T, NULL, 512, 128, probe_jedec, erase_chip_jedec, write_49f002, NULL}, - {"S29C31004T", SM_ID, S29C31004T, NULL, 512, 128, + {"S29C31004T", SYNCMOS_ID, S29C31004T, NULL, 512, 128, probe_jedec, erase_chip_jedec, write_49f002, NULL}, {NULL,} }; |