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
390 B
Plaintext
13 lines
390 B
Plaintext
# Counter and timer configuration options
|
|
|
|
# Copyright (c) 2016 Linaro Limited
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config TIMER_DTMR_CMSDK_APB
|
|
bool "ARM CMSDK (Cortex-M System Design Kit) DTMR Timer driver"
|
|
default y
|
|
depends on DT_HAS_ARM_CMSDK_DTIMER_ENABLED
|
|
help
|
|
The dualtimer (DTMR) present in the platform is used as a timer.
|
|
This option enables the support for the timer.
|