spi_flash: add support for th 1M flash

This commit is contained in:
Cao Sen Miao
2021-12-01 15:13:02 +08:00
parent 3fc6ca6477
commit 56edc81b5d
9 changed files with 117 additions and 18 deletions
@@ -51,6 +51,7 @@ const bootloader_qio_info_t __attribute__((weak)) bootloader_flash_qe_support_li
{ "WinBond", 0xEF, 0x4000, 0xFF00, bootloader_read_status_16b_rdsr_rdsr2, bootloader_write_status_16b_wrsr, 9 },
{ "GD", 0xC8, 0x6000, 0xFF00, bootloader_read_status_16b_rdsr_rdsr2, bootloader_write_status_16b_wrsr, 9 },
{ "XM25QU64A", 0x20, 0x3817, 0xFFFF, bootloader_read_status_8b_xmc25qu64a, bootloader_write_status_8b_xmc25qu64a, 6 },
{ "TH", 0xcd, 0x6000, 0xFF00, bootloader_read_status_16b_rdsr_rdsr2, bootloader_write_status_16b_wrsr, 9 },
/* Final entry is default entry, if no other IDs have matched.