support JEDEC_ID_WINBOND_W25Q128_DTR flash
This commit is contained in:
parent
37dd396593
commit
9df9b87f44
|
@ -64,6 +64,7 @@
|
|||
#define JEDEC_ID_WINBOND_W25Q32 0xEF4016
|
||||
#define JEDEC_ID_WINBOND_W25Q64 0xEF4017
|
||||
#define JEDEC_ID_WINBOND_W25Q128 0xEF4018
|
||||
#define JEDEC_ID_WINBOND_W25Q128_DTR 0xEF7018
|
||||
#define JEDEC_ID_CYPRESS_S25FL128L 0x016018
|
||||
#define JEDEC_ID_BERGMICRO_W25Q32 0xE04016
|
||||
|
||||
|
@ -192,6 +193,7 @@ bool m25p16_detect(flashDevice_t *fdevice, uint32_t chipID)
|
|||
break;
|
||||
case JEDEC_ID_MICRON_N25Q128:
|
||||
case JEDEC_ID_WINBOND_W25Q128:
|
||||
case JEDEC_ID_WINBOND_W25Q128_DTR:
|
||||
case JEDEC_ID_CYPRESS_S25FL128L:
|
||||
fdevice->geometry.sectors = 256;
|
||||
fdevice->geometry.pagesPerSector = 256;
|
||||
|
|
Loading…
Reference in New Issue