Merge branch 'bugfix/fix_spi_flash_clock_config_error_v4.1' into 'release/v4.1'

flash: fix spi flash clock config error (backport v4.1)

See merge request espressif/esp-idf!8513
This commit is contained in:
Angus Gratton 2020-05-05 11:31:11 +08:00
commit 9778b163b1

View file

@ -62,6 +62,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_gpio_config(const esp_image_header_t* pfhdr)