Skip to content

Commit 888bd69

Browse files
Holt-Sunkartben
authored andcommitted
soc: nxp: mcx: mcxe24x: enable LMEM I-cache and cache management
Select CPU_HAS_ICACHE and HAS_MCUX_LMEM_CACHE. Default CACHE_MANAGEMENT=y and select EXTERNAL_CACHE. Prepares MCXE24x to use the LMEM cache driver. Signed-off-by: Holt Sun <[email protected]>
1 parent e179f48 commit 888bd69

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

soc/nxp/mcx/mcxe/mcxe24x/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ config SOC_SERIES_MCXE24X
99
select HAS_MCUX
1010
select CLOCK_CONTROL
1111
select SOC_RESET_HOOK
12+
select CPU_HAS_ICACHE
13+
select HAS_MCUX_LMEM_CACHE
1214

1315
if SOC_SERIES_MCXE24X
1416

soc/nxp/mcx/mcxe/mcxe24x/Kconfig.defconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,12 @@ config CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
1919
config GPIO
2020
default y
2121

22+
# Enable cache management features
23+
configdefault CACHE_MANAGEMENT
24+
default y
25+
26+
choice CACHE_TYPE
27+
default EXTERNAL_CACHE
28+
endchoice
29+
2230
endif # SOC_SERIES_MCXE24X

0 commit comments

Comments
 (0)