esp-idf/components/esp_system/port
Armando 785bd812e9 cpu_start: move esp_rom_spiflash_attach earilier
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().
2023-03-15 10:59:20 +08:00
..
arch esp_system: fix gcc-12 compile errors 2023-02-22 05:33:03 +00:00
include rtc_clk: Clean up some clock related enum and macro in soc/rtc.h, replace with new ones in 2022-05-24 22:59:41 +08:00
soc system: Clean up code, some single core chips have useless dual-core code 2023-03-13 10:27:57 +08:00
brownout.c BOD: Bringup for ESP32C6 2023-01-10 10:37:30 +08:00
CMakeLists.txt BOD: Bringup for ESP32C6 2023-01-10 10:37:30 +08:00
cpu_start.c cpu_start: move esp_rom_spiflash_attach earilier 2023-03-15 10:59:20 +08:00
esp_system_chip.c spi_flash: Allow clock frequency up to 64M, and make it default on ESP32H2 2023-03-10 11:39:53 +08:00
esp_system_linux.c heap: add linux target support 2022-12-06 10:49:59 +08:00
panic_handler.c feature: add ram loadable app support 2023-02-01 17:57:22 +08:00