feat(mspi): supported psram & flash 120MHz timing tuning

This commit is contained in:
armando
2025-10-11 11:35:00 +08:00
parent 06dfc5eda2
commit 755ee49b72
8 changed files with 63 additions and 18 deletions

View File

@@ -237,6 +237,12 @@ esp_err_t bootloader_init_spi_flash(void)
bootloader_init_mspi_clock();
bootloader_init_flash_configure();
#if CONFIG_BOOTLOADER_FLASH_DC_AWARE
// Reset flash, clear volatile bits DC[0:1]. Make it work under default mode to boot.
bootloader_spi_flash_reset();
#endif
bootloader_spi_flash_resume();
if ((void*)bootloader_flash_unlock != (void*)bootloader_flash_unlock_default) {
ESP_EARLY_LOGD(TAG, "Using overridden bootloader_flash_unlock");