Psram: Do not initialize spiram cache if no chip is found.

Closes https://github.com/espressif/esp-idf/issues/6063
This commit is contained in:
Jeroen Domburg
2020-11-03 15:55:34 +08:00
committed by bot
parent f86b0b18f3
commit 4b444316ab

View File

@@ -327,7 +327,9 @@ void IRAM_ATTR call_start_cpu0(void)
abort(); abort();
#endif #endif
} }
if (g_spiram_ok) {
esp_spiram_init_cache(); esp_spiram_init_cache();
}
#endif #endif
#if !CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE #if !CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE