From 0fc751ad6c66a9dec2e975741a7121ac0c24e7ee Mon Sep 17 00:00:00 2001 From: Cao Sen Miao Date: Mon, 10 Jan 2022 11:53:14 +0800 Subject: [PATCH] spi_flash: add support for th 1M flash --- components/bootloader_support/src/flash_qio_mode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/bootloader_support/src/flash_qio_mode.c b/components/bootloader_support/src/flash_qio_mode.c index 7bb04fab41..1dac9c5fc6 100644 --- a/components/bootloader_support/src/flash_qio_mode.c +++ b/components/bootloader_support/src/flash_qio_mode.c @@ -104,6 +104,7 @@ const static qio_info_t chip_data[] = { { "WinBond", 0xEF, 0x4000, 0xFF00, read_status_16b_rdsr_rdsr2, write_status_16b_wrsr, 9 }, { "GD", 0xC8, 0x6000, 0xFF00, read_status_16b_rdsr_rdsr2, write_status_16b_wrsr, 9 }, { "XM25QU64A", 0x20, 0x3817, 0xFFFF, read_status_8b_xmc25qu64a, write_status_8b_xmc25qu64a, 6 }, + { "TH", 0xcd, 0x6000, 0xFF00, read_status_16b_rdsr_rdsr2, write_status_16b_wrsr, 9 }, /* Final entry is default entry, if no other IDs have matched.