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

This commit is contained in:
armando
2025-06-25 09:48:42 +08:00
parent dfa785ed44
commit 18d17ebd23
6 changed files with 64 additions and 2 deletions
@@ -311,6 +311,10 @@ config SOC_SHARED_IDCACHE_SUPPORTED
bool
default y
config SOC_CACHE_FREEZE_SUPPORTED
bool
default y
config SOC_CACHE_MEMORY_IBANK_SIZE
hex
default 0x4000
@@ -124,6 +124,7 @@
/*-------------------------- CACHE CAPS --------------------------------------*/
#define SOC_SHARED_IDCACHE_SUPPORTED 1 //Shared Cache for both instructions and data
#define SOC_CACHE_FREEZE_SUPPORTED 1
#define SOC_CACHE_MEMORY_IBANK_SIZE 0x4000 // has to be same as the definition in ROM component
/*-------------------------- CPU CAPS ----------------------------------------*/