mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-09 03:42:33 +00:00
Introduce a hidden Kconfig option named HAS_WDT_DISABLE_AT_BOOT and allow users to enable WDT_DISABLE_AT_BOOT only when that hidden option is selected by a watchdog driver, i.e. disabling at boot is supported. Select this new hidden option for all existing watchdog drivers that refer to WDT_DISABLE_AT_BOOT. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
16 lines
360 B
Plaintext
16 lines
360 B
Plaintext
# Kconfig Andes Watchdog configuration options
|
|
#
|
|
# Copyright (c) 2023 Andes Technology Corporation.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
config WDT_ANDES_ATCWDT200
|
|
bool "Andes Watchdog driver"
|
|
default y
|
|
depends on DT_HAS_ANDESTECH_ATCWDT200_ENABLED
|
|
select HAS_WDT_DISABLE_AT_BOOT
|
|
select COUNTER
|
|
help
|
|
Enable driver for the Andes Watchdog driver.
|