Skip to content

Commit aa6f7e9

Browse files
Holt-Sunnashif
authored andcommitted
modules: hal_nxp: add SYSCON LPCAC cache support
Add HAL support for SYSCON LPCAC cache controller by: - Adding HAS_MCUX_SYSCON_LPCAC Kconfig option - Integrating cache_lpcac_mcxn driver component Signed-off-by: Holt Sun <[email protected]>
1 parent b403bb5 commit aa6f7e9

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

modules/hal_nxp/mcux/Kconfig.mcux

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# MCUXpresso SDK
22

33
# Copyright (c) 2016, Freescale Semiconductor, Inc.
4-
# Copyright 2024, 2025 NXP
4+
# Copyright 2024-2025 NXP
55
# SPDX-License-Identifier: Apache-2.0
66

77
config HAS_MCUX
@@ -57,6 +57,11 @@ config HAS_MCUX_LMEM_CACHE
5757
help
5858
Set if the LMEM Cache module is present on the SoC.
5959

60+
config HAS_MCUX_SYSCON_LPCAC
61+
bool
62+
help
63+
Set if the SYSCON LPCAC module is present on the SoC.
64+
6065
config HAS_NXP_MONOLITHIC_NBU
6166
bool
6267
help

modules/hal_nxp/mcux/mcux-sdk-ng/drivers/drivers.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ elseif(CONFIG_SOC_SERIES_MCXE24X)
205205
elseif(CONFIG_CPU_CORTEX_A)
206206
set_variable_ifdef(CONFIG_HAS_MCUX_CACHE CONFIG_MCUX_COMPONENT_driver.cache_armv8_a)
207207
endif()
208+
set_variable_ifdef(CONFIG_HAS_MCUX_SYSCON_LPCAC CONFIG_MCUX_COMPONENT_driver.cache_lpcac_n4a_mcxn)
208209
set_variable_ifdef(CONFIG_HAS_MCUX_XCACHE CONFIG_MCUX_COMPONENT_driver.cache_xcache)
209210

210211
if((${MCUX_DEVICE} MATCHES "MIMX9596") OR (${MCUX_DEVICE} MATCHES "MIMX8UD7") OR (${MCUX_DEVICE} MATCHES "MIMXRT118") OR (${MCUX_DEVICE} MATCHES "MIMXRT798") OR (CONFIG_SOC_MIMX94398) OR CONFIG_SOC_MIMX9352)

0 commit comments

Comments
 (0)