mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
spi_flash(c3): add boya chip support for suspend feature
This commit is contained in:
@@ -140,18 +140,6 @@ esp_err_t spi_flash_chip_winbond_erase_block(esp_flash_t *chip, uint32_t start_a
|
||||
return err;
|
||||
}
|
||||
|
||||
esp_err_t spi_flash_chip_winbond_suspend_cmd_conf(esp_flash_t *chip)
|
||||
{
|
||||
spi_flash_sus_cmd_conf sus_conf = {
|
||||
.sus_mask = 0x80,
|
||||
.cmd_rdsr = CMD_RDSR2,
|
||||
.sus_cmd = CMD_SUSPEND,
|
||||
.res_cmd = CMD_RESUME,
|
||||
};
|
||||
|
||||
return chip->host->driver->sus_setup(chip->host, &sus_conf);
|
||||
}
|
||||
|
||||
static const char chip_name[] = "winbond";
|
||||
|
||||
// The issi chip can use the functions for generic chips except from set read mode and probe,
|
||||
|
Reference in New Issue
Block a user