fix(spi_flash): fix a bug where l2 cache was configured from flash

This commit is contained in:
Omar Chebib 2024-04-11 15:42:02 +08:00
parent 69972b2a1e
commit 6f888390ab

View File

@ -933,7 +933,7 @@ esp_err_t esp_enable_cache_wrap(bool icache_wrap_enable)
#if CONFIG_IDF_TARGET_ESP32P4
//TODO: IDF-5670
void esp_config_l2_cache_mode(void)
void IRAM_ATTR esp_config_l2_cache_mode(void)
{
cache_size_t cache_size;
cache_line_size_t cache_line_size;