flash: fix spi flash clock config error

Closes https://github.com/espressif/esp-idf/issues/5099
This commit is contained in:
chenjianqiang 2020-04-17 14:15:00 +08:00
parent 9a389162ab
commit eb5bafeb65

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)