zephyr/soc
Daniel Leung 353c76919d soc: mec1501: don't enable SoC timing funcs if CORTEX_M_DWT
In CMakeLists.txt, the MEC1501 specific timing functions are
only compiled if CONFIG_CORTEX_M_DWT=n. However, in SoC's
kconfig, CONFIG_SOC_HAS_TIMING_FUNCTIONS is defaulted to y
unconditionally. This results in the timing subsys looking
for SoC-based timing functions but those are not compiled.
So add a condition to kconfig similar to CMakeLists.txt where
SoC timing functions are only enabled when CONFIG_CORTEX_M_DWT=n.

Fixes #29969

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2020-11-12 16:07:22 -06:00
..
arc arc: defconfig: remove SYSTEM_CLOCK_SLOPPY_IDLE option 2020-10-28 12:21:10 -05:00
arm soc: mec1501: don't enable SoC timing funcs if CORTEX_M_DWT 2020-11-12 16:07:22 -06:00
nios2
posix
riscv arch: riscv: add memory protection support 2020-11-09 15:37:11 -05:00
x86 x86: add common memory.ld 2020-09-30 14:14:07 -07:00
xtensa xtensa: intel_s1000: enable thread local storage 2020-10-24 10:52:00 -07:00
Kconfig timing: introduce timing functions as a generic feature 2020-09-05 13:28:38 -05:00