Merge branch 'bugfix/fix_deep_sleep_crash_when_psram_high_freq' into 'master'

mspi: turn down freq to fix crash when sleep

Closes IDF-6881

See merge request espressif/esp-idf!22491
This commit is contained in:
Wan Lei
2023-03-16 14:11:21 +08:00
32 changed files with 159 additions and 47 deletions

View File

@@ -746,7 +746,7 @@ esp_err_t IRAM_ATTR bootloader_flash_reset_chip(void)
return ESP_OK;
}
bool bootloader_flash_is_octal_mode_enabled(void)
bool IRAM_ATTR bootloader_flash_is_octal_mode_enabled(void)
{
#if SOC_SPI_MEM_SUPPORT_OPI_MODE
return efuse_ll_get_flash_type();