zephyr/drivers/counter/Kconfig.tmr_cmsdk_apb
Kumar Gala 0f1ed0f4a0 drivers: counter: Update drivers to use devicetree Kconfig symbol
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>
2022-07-25 09:38:57 +02:00

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.