0f1ed0f4a0
Update counter drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol to expose the driver and enable it by default based on devicetree. We remove 'depend on' Kconfig for symbols that would be implied by the devicetree node existing. Signed-off-by: Kumar Gala <galak@kernel.org>
13 lines
380 B
Plaintext
13 lines
380 B
Plaintext
# Counter and timer configuration options
|
|
|
|
# Copyright (c) 2016 Linaro Limited
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config TIMER_TMR_CMSDK_APB
|
|
bool "ARM CMSDK (Cortex-M System Design Kit) Timer driver"
|
|
default y
|
|
depends on DT_HAS_ARM_CMSDK_TIMER_ENABLED
|
|
help
|
|
The timers (TMR) present in the platform are used as timers.
|
|
This option enables the support for the timers.
|