Merge branch 'bugfix/fix_spi_flash_clock_config_error' into 'master'

flash: fix spi flash clock config error

Closes IDFGH-3077

See merge request espressif/esp-idf!8384
This commit is contained in:
Wang Jia Lin 2020-04-22 12:44:17 +08:00
commit e3f85faee5

View File

@ -62,6 +62,7 @@ void IRAM_ATTR bootloader_flash_clock_config(const esp_image_header_t* pfhdr)
break; break;
} }
esp_rom_spiflash_config_clk(spi_clk_div, 0); 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) void IRAM_ATTR bootloader_flash_gpio_config(const esp_image_header_t* pfhdr)