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>
This commit is contained in:
parent
1610aa0e9f
commit
ec80ab5bb6
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user