Skip to content

Commit ec80ab5

Browse files
peter-mitsisdkalowsk
authored andcommitted
drivers: timer: Clean up Cortex-M systick Kconfig
Makes the choice CORTEX_M_SYSTICK_LPM dependent upon the CORTEX_M_SYSTICK to prevent its default from showing up in the .config of projects that do not use the CORTEX_M_SYSTICK timer driver. Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
1 parent 1610aa0 commit ec80ab5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/timer/Kconfig.cortex_m_systick

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ config CORTEX_M_SYSTICK_64BIT_CYCLE_COUNTER
4545

4646
choice CORTEX_M_SYSTICK_LPM_TIMER
4747
prompt "SysTick companion low-power mode timer"
48+
depends on CORTEX_M_SYSTICK
4849
# If all dependencies are enabled, and /chosen/cortex-m-idle-timer
4950
# is enabled, default to using the Counter API-based LPM timer.
5051
# Otherwise, the first choice (LPM_TIMER_NONE) will be selected

0 commit comments

Comments
 (0)