[U-Boot] [PATCH 11/15] wdt: Kconfig: Add WDT_DW entry
Jagan Teki
jagan at amarulasolutions.com
Mon Jul 29 07:47:07 UTC 2019
Add Kconfig entry for CONFIG_WDT_DW, and it indeed
depends on DM WDT.
So, it can be avialable on particular board defconfig
only if they switch to use DW driver model code.
Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
---
drivers/watchdog/Kconfig | 9 +++++++++
scripts/config_whitelist.txt | 1 -
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index ee0ddffe73..0b64298016 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -100,6 +100,15 @@ config WDT_CDNS
Select this to enable Cadence watchdog timer, which can be found on some
Xilinx Microzed Platform.
+config WDT_DW
+ bool "Synopsys DesignWare watchdog"
+ depends on WDT
+ default y if ROCKCHIP_RK3399
+ imply WATCHDOG
+ help
+ Say Y here if to include support for the Synopsys DesignWare
+ watchdog timer found in many chips.
+
config WDT_MPC8xx
bool "MPC8xx watchdog timer support"
depends on WDT && MPC8xx
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index f2453728c6..47e42e680a 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -323,7 +323,6 @@ CONFIG_DEFAULT_IMMR
CONFIG_DEF_HWCONFIG
CONFIG_DELAY_ENVIRONMENT
CONFIG_DESIGNWARE_ETH
-CONFIG_WDT_DW
CONFIG_DEVELOP
CONFIG_DEVICE_TREE_LIST
CONFIG_DFU_ALT
--
2.18.0.321.gffc6fa0e3
More information about the U-Boot
mailing list