soc: espressif: Fix the cache size set calls

Move the cache size set calls from soc.c do common loader.c
for all related SOCs. Remove unnecessary includes.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
This commit is contained in:
Marek Matej 2024-04-16 20:05:37 +02:00 committed by Alberto Escolar
commit 8c373b9bae
5 changed files with 9 additions and 28 deletions

View file

@ -45,9 +45,6 @@
#include <esp_clk_internal.h>
#include <esp_app_format.h>
#ifdef CONFIG_MCUBOOT
#include "bootloader_init.h"
#endif /* CONFIG_MCUBOOT */
#include <zephyr/sys/printk.h>
#if CONFIG_ESP_SPIRAM