Commit ec80ab5b authored by Peter Mitsis's avatar Peter Mitsis Committed by Dan Kalowsky
Browse files

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: default avatarPeter Mitsis <peter.mitsis@intel.com>
parent 1610aa0e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -45,6 +45,7 @@ config CORTEX_M_SYSTICK_64BIT_CYCLE_COUNTER

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