Add more SPI flash IDs.
Submitted by: Luiz Otavio O Souza. Submitted by: ZRouter.org project. Approved by: adrian (menthor)
This commit is contained in:
parent
e89f1e2950
commit
21e4b45182
@ -96,15 +96,22 @@ static void mx25l_strategy(struct bio *bp);
|
||||
static void mx25l_task(void *arg);
|
||||
|
||||
struct mx25l_flash_ident flash_devices[] = {
|
||||
{ "mx25ll32", 0xc2, 0x2016, 64 * 1024, 64, FL_NONE },
|
||||
{ "m25p64", 0x20, 0x2017, 64 * 1024, 128, FL_NONE },
|
||||
{ "mx25ll64", 0xc2, 0x2017, 64 * 1024, 128, FL_NONE },
|
||||
{ "mx25ll128", 0xc2, 0x2018, 64 * 1024, 256, FL_ERASE_4K | FL_ERASE_32K },
|
||||
{ "s25fl128", 0x01, 0x2018, 64 * 1024, 256, FL_NONE },
|
||||
{ "s25s1032", 0x01, 0x0215, 64 * 1024, 64, FL_NONE },
|
||||
{ "s25sl064a", 0x01, 0x0216, 64 * 1024, 128, FL_NONE },
|
||||
{ "w25q64bv", 0xef, 0x4017, 64 * 1024, 128, FL_ERASE_4K },
|
||||
{ "w25x32", 0xef, 0x3016, 64 * 1024, 64, FL_ERASE_4K },
|
||||
{ "en25f32", 0x1c, 0x3116, 64 * 1024, 64, FL_NONE },
|
||||
{ "en25p32", 0x1c, 0x2016, 64 * 1024, 64, FL_NONE },
|
||||
{ "en25p64", 0x1c, 0x2017, 64 * 1024, 128, FL_NONE },
|
||||
{ "en25q64", 0x1c, 0x3017, 64 * 1024, 128, FL_ERASE_4K },
|
||||
{ "m25p64", 0x20, 0x2017, 64 * 1024, 128, FL_NONE },
|
||||
{ "mx25ll32", 0xc2, 0x2016, 64 * 1024, 64, FL_NONE },
|
||||
{ "mx25ll64", 0xc2, 0x2017, 64 * 1024, 128, FL_NONE },
|
||||
{ "mx25ll128", 0xc2, 0x2018, 64 * 1024, 256, FL_ERASE_4K | FL_ERASE_32K },
|
||||
{ "s25fl128", 0x01, 0x2018, 64 * 1024, 256, FL_NONE },
|
||||
{ "s25s1032", 0x01, 0x0215, 64 * 1024, 64, FL_NONE },
|
||||
{ "s25sl064a", 0x01, 0x0216, 64 * 1024, 128, FL_NONE },
|
||||
{ "SST25VF032B", 0xbf, 0x254a, 64 * 1024, 64, FL_ERASE_4K | FL_ERASE_32K },
|
||||
{ "w25q32", 0xef, 0x4016, 64 * 1024, 64, FL_ERASE_4K },
|
||||
{ "w25q64", 0xef, 0x4017, 64 * 1024, 128, FL_ERASE_4K },
|
||||
{ "w25q64bv", 0xef, 0x4017, 64 * 1024, 128, FL_ERASE_4K },
|
||||
{ "w25x32", 0xef, 0x3016, 64 * 1024, 64, FL_ERASE_4K },
|
||||
};
|
||||
|
||||
static uint8_t
|
||||
|
Loading…
Reference in New Issue
Block a user