mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
785bd812e9
esp_rom_spiflash_attach is called in cpu_start.c when it's CONFIG_APP_BUILD_TYPE_RAM && !CONFIG_APP_BUILD_TYPE_PURE_RAM_APP. This function will: - reset MSPI - configure MSPI IOs - configure MSPI into slow read mode Prior to this commit, this function is put quite late. It's OK for chips earlier than C6. On C6 and H2, MMU registers are in SPI_MEM_x, so resetting MSPI registers will also reset MMU registers. After this commit, this funciton is called eariler, before cpu_start.c: bootloader_init(). |
||
---|---|---|
.. | ||
arch | ||
include | ||
soc | ||
brownout.c | ||
CMakeLists.txt | ||
cpu_start.c | ||
esp_system_chip.c | ||
esp_system_linux.c | ||
panic_handler.c |