add cache driver for NXP SYSCON LPCAC controller, this driver provides instruction cache management with enable/disable and invalidation support. Signed-off-by: Holt Sun <holt.sun@nxp.com>
20 lines
843 B
CMake
20 lines
843 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/cache.h)
|
|
|
|
zephyr_library()
|
|
zephyr_library_property(ALLOW_EMPTY TRUE)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE cache_handlers.c)
|
|
|
|
# zephyr-keep-sorted-start
|
|
zephyr_library_sources_ifdef(CONFIG_CACHE_ANDES cache_andes.c)
|
|
zephyr_library_sources_ifdef(CONFIG_CACHE_ASPEED cache_aspeed.c)
|
|
zephyr_library_sources_ifdef(CONFIG_CACHE_BFLB_L1C cache_bflb_l1c.c)
|
|
zephyr_library_sources_ifdef(CONFIG_CACHE_NRF_CACHE cache_nrf.c)
|
|
zephyr_library_sources_ifdef(CONFIG_CACHE_NXP_LMEM_CACHE cache_nxp_lmem_cache.c)
|
|
zephyr_library_sources_ifdef(CONFIG_CACHE_NXP_SYSCON_LPCAC cache_nxp_syscon_lpcac.c)
|
|
zephyr_library_sources_ifdef(CONFIG_CACHE_NXP_XCACHE cache_nxp_xcache.c)
|
|
zephyr_library_sources_ifdef(CONFIG_CACHE_STM32 cache_stm32.c)
|
|
# zephyr-keep-sorted-stop
|