arch: custom cpu_idle and cpu_atomic harmonization
custom arch_cpu_idle and arch_cpu_atomic_idle implementation was done differently on different architectures. riscv implemented those as weak symbols, xtensa used a kconfig and all other architectures did not really care, but this was a global kconfig that should apply to all architectures. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
e6235f49a7
commit
7f52fc4188
12 changed files with 49 additions and 3 deletions
|
@ -4,6 +4,8 @@
|
|||
config SOC_SERIES_IT8XXX2
|
||||
select CPU_HAS_FPU if "$(ZEPHYR_TOOLCHAIN_VARIANT)" != "zephyr" || RISCV_ISA_EXT_M
|
||||
select HAS_PM
|
||||
select ARCH_CPU_IDLE_CUSTOM
|
||||
select ARCH_CPU_ATOMIC_IDLE_CUSTOM
|
||||
|
||||
if SOC_SERIES_IT8XXX2
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue