cache: fix cache suspended/resumed twice on S3

This commit is contained in:
wanlei
2023-05-24 16:27:11 +08:00
committed by wuzhenghui
parent d83fe16c93
commit 45eb0b6271
3 changed files with 14 additions and 2 deletions

View File

@@ -231,6 +231,10 @@ config SOC_SHARED_IDCACHE_SUPPORTED
bool
default y
config SOC_IDCACHE_PER_CORE
bool
default y
config SOC_CPU_CORES_NUM
int
default 2

View File

@@ -138,7 +138,8 @@
#endif
/*-------------------------- CACHE CAPS --------------------------------------*/
#define SOC_SHARED_IDCACHE_SUPPORTED 1 //Shared Cache for both instructions and data
#define SOC_SHARED_IDCACHE_SUPPORTED 1 //Shared Cache for both instructions and data within one core
#define SOC_IDCACHE_PER_CORE 1 //Independent Cache unit pre core
/*-------------------------- CPU CAPS ----------------------------------------*/
#define SOC_CPU_CORES_NUM 2