Merge branch 'bugfix/fix_spi_flash_clock_config_error_s2' into 'master'

bootloader_support: fix spi flash clock config error

See merge request espressif/esp-idf!10628
This commit is contained in:
Michael (XIAO Xufeng)
2020-10-16 12:04:32 +08:00
2 changed files with 2 additions and 0 deletions

View File

@@ -71,6 +71,7 @@ void IRAM_ATTR bootloader_flash_clock_config(const esp_image_header_t* pfhdr)
break;
}
esp_rom_spiflash_config_clk(spi_clk_div, 0);
esp_rom_spiflash_config_clk(spi_clk_div, 1);
}
void IRAM_ATTR bootloader_flash_set_dummy_out(void)

View File

@@ -65,6 +65,7 @@ void IRAM_ATTR bootloader_flash_clock_config(const esp_image_header_t *pfhdr)
break;
}
esp_rom_spiflash_config_clk(spi_clk_div, 0);
esp_rom_spiflash_config_clk(spi_clk_div, 1);
}
void IRAM_ATTR bootloader_flash_set_dummy_out(void)