Skip to content

Commit c15dd51

Browse files
mmahadevan108dleach02
authored andcommitted
hal_nxp: Switch to using the XCACHE Kconfig
Use the new XCACHE Kconfig to decide if we have to pull the SDK XCACHE driver Signed-off-by: Mahesh Mahadevan <[email protected]>
1 parent 7d1c795 commit c15dd51

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mcux/hal_nxp.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,8 @@ elseif((${MCUX_DEVICE} MATCHES "MIMXRT(5|6|7)") OR (${MCUX_DEVICE} MATCHES "RW61
288288
include_driver_ifdef(CONFIG_HAS_MCUX_CACHE cache/cache64 driver_cache_cache64)
289289
elseif((${MCUX_DEVICE} MATCHES "MK(28|66)") OR (${MCUX_DEVICE} MATCHES "MKE(14|16|18)") OR (CONFIG_SOC_MIMXRT1166_CM4) OR (CONFIG_SOC_MIMXRT1176_CM4))
290290
include_driver_ifdef(CONFIG_HAS_MCUX_CACHE cache/lmem driver_cache_lmem)
291-
elseif(CONFIG_SOC_MIMXRT1189_CM33)
292-
include_driver_ifdef(CONFIG_HAS_MCUX_CACHE cache/xcache driver_cache_xcache)
293291
endif()
292+
include_driver_ifdef(CONFIG_HAS_MCUX_XCACHE cache/xcache driver_cache_xcache)
294293

295294
if ((${MCUX_DEVICE} MATCHES "MIMX9596") OR (${MCUX_DEVICE} MATCHES "MIMX8UD7") OR (${MCUX_DEVICE} MATCHES "MIMXRT118"))
296295
include_driver_ifdef(CONFIG_IPM_IMX mu1 driver_mu1)

0 commit comments

Comments
 (0)