fix(cache): fixed SOC_CACHE_FREEZE_SUPPORTED not defined on c3/c2 issue

This commit is contained in:
armando
2025-06-16 13:16:56 +08:00
parent dfa785ed44
commit 18d17ebd23
6 changed files with 64 additions and 2 deletions

View File

@@ -227,6 +227,10 @@ config SOC_SHARED_IDCACHE_SUPPORTED
bool
default y
config SOC_CACHE_FREEZE_SUPPORTED
bool
default y
config SOC_CPU_CORES_NUM
int
default 1

View File

@@ -93,6 +93,7 @@
/*-------------------------- CACHE CAPS --------------------------------------*/
#define SOC_SHARED_IDCACHE_SUPPORTED 1 //Shared Cache for both instructions and data
#define SOC_CACHE_FREEZE_SUPPORTED 1
/*-------------------------- CPU CAPS ----------------------------------------*/
#define SOC_CPU_CORES_NUM (1U)