From d59e7be1ec73376a0aeec635fd88eda9fe2d5e3b Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Fri, 15 Dec 2023 15:10:46 -0800 Subject: [PATCH] soc: xtensa/dc233c: turn on i-cache and d-cache The DC233C core has support for both i-cache and d-cache. So mark it as such so we can test caching of Xtensa in QEMU. Signed-off-by: Daniel Leung --- soc/xtensa/dc233c/Kconfig.soc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/soc/xtensa/dc233c/Kconfig.soc b/soc/xtensa/dc233c/Kconfig.soc index 617eaa13849..aac2fb89fbb 100644 --- a/soc/xtensa/dc233c/Kconfig.soc +++ b/soc/xtensa/dc233c/Kconfig.soc @@ -7,6 +7,8 @@ config SOC_XTENSA_DC233C select XTENSA select XTENSA_HAL select ARCH_HAS_THREAD_LOCAL_STORAGE + select CPU_HAS_DCACHE + select CPU_HAS_ICACHE select CPU_HAS_MMU select ARCH_HAS_RESERVED_PAGE_FRAMES if XTENSA_MMU select ARCH_HAS_USERSPACE if XTENSA_MMU