feat(spi_flash): Add GD25Q32 for supporting suspend

This commit is contained in:
C.S.M 2024-07-24 13:42:29 +08:00
parent f6c42041a4
commit 4626fafd20

View File

@ -37,6 +37,7 @@ spi_flash_caps_t spi_flash_chip_gd_get_caps(esp_flash_t *chip)
#if CONFIG_SPI_FLASH_AUTO_SUSPEND #if CONFIG_SPI_FLASH_AUTO_SUSPEND
switch (chip->chip_id) { switch (chip->chip_id) {
/* The flash listed here can support suspend */ /* The flash listed here can support suspend */
case 0xC84016:
case 0xC84017: case 0xC84017:
case 0xC84018: case 0xC84018:
caps_flags |= SPI_FLASH_CHIP_CAP_SUSPEND; caps_flags |= SPI_FLASH_CHIP_CAP_SUSPEND;