drivers: counter: fix leaking NXP counter Kconfigs
fix conditions for COUNTER_NXP_PIT and COUNTER_NXP_MRT Kconfigs Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
388c0aa68f
commit
d9c40856ea
|
@ -3,7 +3,8 @@
|
|||
|
||||
config COUNTER_NXP_MRT
|
||||
bool "NXP MRT driver"
|
||||
default y if DT_HAS_NXP_MRT_CHANNEL_ENABLED && \
|
||||
default y
|
||||
depends on DT_HAS_NXP_MRT_CHANNEL_ENABLED && \
|
||||
DT_HAS_NXP_MRT_ENABLED
|
||||
help
|
||||
Enable driver for the NXP Multirate Timer (MRT).
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
|
||||
config COUNTER_NXP_PIT
|
||||
bool "NXP PIT driver"
|
||||
default y if DT_HAS_NXP_PIT_CHANNEL_ENABLED && \
|
||||
default y
|
||||
depends on DT_HAS_NXP_PIT_CHANNEL_ENABLED && \
|
||||
DT_HAS_NXP_PIT_ENABLED
|
||||
help
|
||||
Enable support for the NXP Periodic Interrupt Timer (PIT).
|
||||
|
|
Loading…
Reference in a new issue