soc: nordic: common: vpr: Update custom idle

VPR (FLPR) on nRF54L series has fixed issue with sleeping so
custom CPU idle function does not need to be used there.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruściński 2025-02-25 07:01:28 +01:00 committed by Henrik Brix Andersen
commit 1dfe3cba99
2 changed files with 4 additions and 3 deletions

View file

@ -3,6 +3,7 @@
zephyr_include_directories(.)
zephyr_library_sources(soc_context.S soc_idle.c soc_init.c)
zephyr_library_sources(soc_context.S soc_init.c)
zephyr_library_sources_ifdef(CONFIG_ARCH_HAS_CUSTOM_CPU_IDLE soc_idle.c)
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/riscv/common/linker.ld CACHE INTERNAL "")

View file

@ -16,8 +16,8 @@ config RISCV_CORE_NORDIC_VPR
select RISCV_HAS_CLIC
select RISCV_SOC_CONTEXT_SAVE
select HAS_FLASH_LOAD_OFFSET
select ARCH_HAS_CUSTOM_CPU_IDLE
select ARCH_HAS_CUSTOM_CPU_ATOMIC_IDLE
select ARCH_HAS_CUSTOM_CPU_IDLE if !SOC_SERIES_NRF54LX
select ARCH_HAS_CUSTOM_CPU_ATOMIC_IDLE if !SOC_SERIES_NRF54LX
select INCLUDE_RESET_VECTOR
imply XIP
help