Skip to contentSkip to conversation

Convert Watchdog related defines to Kconfig

PATCH Superseded Lukasz Majewski 2 participants 6 messages Feb 6, 2018 – Feb 7, 2018

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Convert Watchdog related defines to Kconfig

This patch series converts watchdog related configs:
CONFIG_HW_WATCHDOG, CONFIG_IMX_WATCHDOG and CONFIG_WATCHDOG_TIMEOUT_MSECS to Kconfig.

This is the first step to move iMX Watchdog driver to DM.

Comments and tests are welcome.

"Green" travis CI build:
https://travis-ci.org/lmajewski/u-boot-dfu/builds/338077474

This patch has been applied on top of u-boot/master:
SHA1: a43aebee89acf57b4e22018f401cffc9fef4fd85

Lukasz Majewski (4):
Convert CONFIG_IMX_WATCHDOG to Kconfig and remove HW_WATCHDOG Convert CONFIG_WATCHDOG_TIMEOUT_MSECS to Kconfig
Convert socfpga: select CONFIG_HW_WATCHDOG support for ARCH_SOCFPGA Convert CONFIG_HW_WATCHDOG to Kconfig

 arch/arm/Kconfig                         |  1 +
 configs/aristainetos2_defconfig          |  1 +
 configs/aristainetos2b_defconfig         |  1 +
 configs/aristainetos_defconfig           |  1 +
 configs/axm_defconfig                    |  1 +
 configs/calimain_defconfig               |  1 +
 configs/dh_imx6_defconfig                |  2 ++
 configs/microblaze-generic_defconfig     |  1 +
 configs/mx53ppd_defconfig                |  2 ++
 configs/nokia_rx51_defconfig             |  1 +
 configs/picosam9g45_defconfig            |  1 +
 configs/smartweb_defconfig               |  1 +
 configs/taurus_defconfig                 |  1 +
 configs/tqma6s_wru4_mmc_defconfig        |  2 ++
 configs/ts4800_defconfig                 |  1 +
 configs/warp_defconfig                   |  2 ++
 drivers/watchdog/Kconfig                 | 14 ++++++++++++++
 include/configs/M5475EVB.h               |  1 -
 include/configs/M5485EVB.h               |  1 -
 include/configs/aristainetos-common.h    |  3 ---
 include/configs/calimain.h               |  1 -
 include/configs/controlcenterd.h         |  1 -
 include/configs/dh_imx6.h                |  5 -----
 include/configs/eb_cpu5282.h             |  2 --
 include/configs/microblaze-generic.h     |  1 -
 include/configs/mx53ppd.h                |  4 ----
 include/configs/nokia_rx51.h             |  1 -
 include/configs/picosam9g45.h            |  1 -
 include/configs/smartweb.h               |  3 ---
 include/configs/socfpga_arria10_socdk.h  |  2 --
 include/configs/socfpga_arria5_socdk.h   |  2 --
 include/configs/socfpga_common.h         |  1 -
 include/configs/socfpga_cyclone5_socdk.h |  2 --
 include/configs/socfpga_de0_nano_soc.h   |  2 --
 include/configs/socfpga_de10_nano.h      |  2 --
 include/configs/socfpga_de1_soc.h        |  2 --
 include/configs/socfpga_is1.h            |  2 --
 include/configs/socfpga_mcvevk.h         |  2 --
 include/configs/socfpga_sockit.h         |  2 --
 include/configs/socfpga_socrates.h       |  2 --
 include/configs/socfpga_sr1500.h         |  2 --
 include/configs/socfpga_vining_fpga.h    |  2 --
 include/configs/taurus.h                 |  1 -
 include/configs/tqma6_wru4.h             |  5 -----
 include/configs/ts4800.h                 |  2 --
 include/configs/warp.h                   |  5 -----
 46 files changed, 34 insertions(+), 62 deletions(-)
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/4 Convert CONFIG_IMX_WATCHDOG to Kconfig and remove HW_WATCHDOG

This converts the following to Kconfig:
CONFIG_IMX_WATCHDOG

It also removes the CONFIG_HW_WATCHDOG, which is selected by IMX_WATCHDOG.

---

 configs/aristainetos2_defconfig       | 1 +
 configs/aristainetos2b_defconfig      | 1 +
 configs/aristainetos_defconfig        | 1 +
 configs/dh_imx6_defconfig             | 1 +
 configs/mx53ppd_defconfig             | 1 +
 configs/tqma6s_wru4_mmc_defconfig     | 1 +
 configs/warp_defconfig                | 1 +
 drivers/watchdog/Kconfig              | 6 ++++++
 include/configs/aristainetos-common.h | 3 ---
 include/configs/dh_imx6.h             | 2 --
 include/configs/mx53ppd.h             | 2 --
 include/configs/tqma6_wru4.h          | 2 --
 include/configs/warp.h                | 2 --
 13 files changed, 13 insertions(+), 11 deletions(-)
configs/aristainetos2_defconfig +1 -0
index 288dab0d3c..a3aa71ad13 100644
@@ -43,4 +43,5 @@ CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_VIDEO=y
 # CONFIG_VIDEO_SW_CURSOR is not set
+CONFIG_IMX_WATCHDOG=y
 CONFIG_OF_LIBFDT=y
configs/aristainetos2b_defconfig +1 -0
index 115ae07ad6..8128ffc957 100644
@@ -43,4 +43,5 @@ CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_VIDEO=y
 # CONFIG_VIDEO_SW_CURSOR is not set
+CONFIG_IMX_WATCHDOG=y
 CONFIG_OF_LIBFDT=y
configs/aristainetos_defconfig +1 -0
index cad8b4af8a..153cd54b8e 100644
@@ -41,4 +41,5 @@ CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_VIDEO=y
 # CONFIG_VIDEO_SW_CURSOR is not set
+CONFIG_IMX_WATCHDOG=y
 CONFIG_OF_LIBFDT=y
configs/dh_imx6_defconfig +1 -0
index 1fd7c50e31..48c5c7027a 100644
@@ -56,4 +56,5 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0525
 CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
+CONFIG_IMX_WATCHDOG=y
 CONFIG_OF_LIBFDT=y
configs/mx53ppd_defconfig +1 -0
index 3fbca2a08c..1458b93144 100644
@@ -29,4 +29,5 @@ CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_VIDEO=y
 # CONFIG_VIDEO_SW_CURSOR is not set
+CONFIG_IMX_WATCHDOG=y
 CONFIG_OF_LIBFDT=y
configs/tqma6s_wru4_mmc_defconfig +1 -0
index 4cf6693f5c..e30b7c5970 100644
@@ -57,4 +57,5 @@ CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_SMSC95XX=y
+CONFIG_IMX_WATCHDOG=y
 CONFIG_OF_LIBFDT=y
configs/warp_defconfig +1 -0
index 2ac1c6cef7..0aa7aeb57d 100644
@@ -34,4 +34,5 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0525
 CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
 CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
+CONFIG_IMX_WATCHDOG=y
 CONFIG_OF_LIBFDT=y
drivers/watchdog/Kconfig +6 -0
index fc46b6774d..067d3915ae 100644
@@ -12,6 +12,12 @@ config BCM2835_WDT
 	  This provides basic infrastructure to support BCM2835/2836 watchdog
 	  hardware, with a max timeout of ~15secs.
 
+config IMX_WATCHDOG
+	bool "IMX watchdog driver"
+	select HW_WATCHDOG
+	help
+	  Say Y here to enable the IMX watchdog driver.
+
 config OMAP_WATCHDOG
 	bool "TI OMAP watchdog driver"
 	depends on ARCH_OMAP2PLUS
include/configs/aristainetos-common.h +0 -3
index 397afbb408..733563cc73 100644
@@ -202,9 +202,6 @@
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_MTD_DEVICE
 
-#define CONFIG_HW_WATCHDOG
-#define CONFIG_IMX_WATCHDOG
-
 /* Framebuffer */
 #define CONFIG_VIDEO_IPUV3
 /* check this console not needed, after test remove it */
include/configs/dh_imx6.h +0 -2
index 1f26ef4f8f..7b47fc6887 100644
@@ -126,8 +126,6 @@
 #endif
 
 /* Watchdog */
-#define CONFIG_HW_WATCHDOG
-#define CONFIG_IMX_WATCHDOG
 #define CONFIG_WATCHDOG_TIMEOUT_MSECS	60000
 
 /* allow to overwrite serial and ethaddr */
include/configs/mx53ppd.h +0 -2
index 92dd845c70..4fa850d211 100644
@@ -23,8 +23,6 @@
 /* Size of malloc() pool */
 #define CONFIG_SYS_MALLOC_LEN		(10 * 1024 * 1024)
 
-#define CONFIG_HW_WATCHDOG
-#define CONFIG_IMX_WATCHDOG
 #define CONFIG_WATCHDOG_TIMEOUT_MSECS 8000
 
 #define CONFIG_MISC_INIT_R
include/configs/tqma6_wru4.h +0 -2
index 4e99cdbb59..f35a048209 100644
@@ -20,8 +20,6 @@
 #define CONFIG_MISC_INIT_R
 
 /* Watchdog */
-#define CONFIG_HW_WATCHDOG
-#define CONFIG_IMX_WATCHDOG
 #define CONFIG_WATCHDOG_TIMEOUT_MSECS	60000
 
 /* Config on-board RTC */
include/configs/warp.h +0 -2
index 77af0d46e7..e5421d1930 100644
@@ -27,8 +27,6 @@
 #define CONFIG_SUPPORT_EMMC_BOOT
 
 /* Watchdog */
-#define CONFIG_HW_WATCHDOG
-#define CONFIG_IMX_WATCHDOG
 #define CONFIG_WATCHDOG_TIMEOUT_MSECS 30000 /* 30s */
 
 #define CONFIG_SYS_MEMTEST_START	0x80000000
Signature · 1 line
2.11.0
#2 lore raw

PATCH 2/4 Convert CONFIG_WATCHDOG_TIMEOUT_MSECS to Kconfig

In reply to Lukasz Majewski

This converts the following to Kconfig:
CONFIG_WATCHDOG_TIMEOUT_MSECS

The CONFIG_WATCHDOG_TIMEOUT_MSECS default value has been set to 10s.

---

 configs/dh_imx6_defconfig         | 1 +
 configs/mx53ppd_defconfig         | 1 +
 configs/tqma6s_wru4_mmc_defconfig | 1 +
 configs/warp_defconfig            | 1 +
 drivers/watchdog/Kconfig          | 8 ++++++++
 include/configs/dh_imx6.h         | 3 ---
 include/configs/mx53ppd.h         | 2 --
 include/configs/socfpga_common.h  | 1 -
 include/configs/tqma6_wru4.h      | 3 ---
 include/configs/warp.h            | 3 ---
 10 files changed, 12 insertions(+), 12 deletions(-)
configs/dh_imx6_defconfig +1 -0
index 48c5c7027a..0e7df6b10a 100644
@@ -58,3 +58,4 @@ CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_IMX_WATCHDOG=y
 CONFIG_OF_LIBFDT=y
+CONFIG_WATCHDOG_TIMEOUT_MSECS=60000
configs/mx53ppd_defconfig +1 -0
index 1458b93144..64dee33045 100644
@@ -31,3 +31,4 @@ CONFIG_VIDEO=y
 # CONFIG_VIDEO_SW_CURSOR is not set
 CONFIG_IMX_WATCHDOG=y
 CONFIG_OF_LIBFDT=y
+CONFIG_WATCHDOG_TIMEOUT_MSECS=8000
configs/tqma6s_wru4_mmc_defconfig +1 -0
index e30b7c5970..4e1be700e8 100644
@@ -59,3 +59,4 @@ CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_SMSC95XX=y
 CONFIG_IMX_WATCHDOG=y
 CONFIG_OF_LIBFDT=y
+CONFIG_WATCHDOG_TIMEOUT_MSECS=60000
configs/warp_defconfig +1 -0
index 0aa7aeb57d..891d00e7e3 100644
@@ -36,3 +36,4 @@ CONFIG_CI_UDC=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_IMX_WATCHDOG=y
 CONFIG_OF_LIBFDT=y
+CONFIG_WATCHDOG_TIMEOUT_MSECS=30000
drivers/watchdog/Kconfig +8 -0
index 067d3915ae..bc4e9a6e84 100644
@@ -40,6 +40,14 @@ config ULP_WATCHDOG
 	help
 	  Say Y here to enable i.MX7ULP watchdog driver.
 
+config WATCHDOG_TIMEOUT_MSECS
+	int "Specify watchdog timeout in mili seconds"
+	default 30000 if ARCH_SOCFPGA
+	default 10000
+	depends on HW_WATCHDOG
+	help
+	  Set watchdog trigger timeout (in [ms]).
+
 config WDT
 	bool "Enable driver model for watchdog timer drivers"
 	depends on DM
include/configs/dh_imx6.h +0 -3
index 7b47fc6887..6c945979fb 100644
@@ -125,9 +125,6 @@
 #endif
 #endif
 
-/* Watchdog */
-#define CONFIG_WATCHDOG_TIMEOUT_MSECS	60000
-
 /* allow to overwrite serial and ethaddr */
 #define CONFIG_ENV_OVERWRITE
 
include/configs/mx53ppd.h +0 -2
index 4fa850d211..1c7f066354 100644
@@ -23,8 +23,6 @@
 /* Size of malloc() pool */
 #define CONFIG_SYS_MALLOC_LEN		(10 * 1024 * 1024)
 
-#define CONFIG_WATCHDOG_TIMEOUT_MSECS 8000
-
 #define CONFIG_MISC_INIT_R
 #define CONFIG_BOARD_LATE_INIT
 #define CONFIG_MXC_GPIO
include/configs/socfpga_common.h +0 -1
index bbc1f3de9b..7cde63e4ad 100644
@@ -120,7 +120,6 @@
 #define CONFIG_DESIGNWARE_WATCHDOG
 #define CONFIG_DW_WDT_BASE		SOCFPGA_L4WD0_ADDRESS
 #define CONFIG_DW_WDT_CLOCK_KHZ		25000
-#define CONFIG_WATCHDOG_TIMEOUT_MSECS	30000
 #endif
 
 /*
include/configs/tqma6_wru4.h +0 -3
index f35a048209..41dd192e5d 100644
@@ -19,9 +19,6 @@
 
 #define CONFIG_MISC_INIT_R
 
-/* Watchdog */
-#define CONFIG_WATCHDOG_TIMEOUT_MSECS	60000
-
 /* Config on-board RTC */
 #define CONFIG_RTC_DS1337
 #define CONFIG_SYS_RTC_BUS_NUM		2
include/configs/warp.h +0 -3
index e5421d1930..dc0ee391bf 100644
@@ -26,9 +26,6 @@
 #define CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE
 #define CONFIG_SUPPORT_EMMC_BOOT
 
-/* Watchdog */
-#define CONFIG_WATCHDOG_TIMEOUT_MSECS 30000 /* 30s */
-
 #define CONFIG_SYS_MEMTEST_START	0x80000000
 #define CONFIG_SYS_MEMTEST_END		(CONFIG_SYS_MEMTEST_START + SZ_256M)
 
Signature · 1 line
2.11.0
#3 lore raw

PATCH 2/4 Convert CONFIG_WATCHDOG_TIMEOUT_MSECS to Kconfig

Hi,

Quoted 4 lines

-----Original Message-----
From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Lukasz Majewski
Sent: Wednesday, February 7, 2018 1:30 AM

<snip>

drivers/watchdog/Kconfig config ULP_WATCHDOG · line 44

Quoted 2 lines
drivers/watchdog/Kconfig +2 -0
+config WATCHDOG_TIMEOUT_MSECS
+	int "Specify watchdog timeout in mili seconds"

s/mili/milli

Regards
Calvin

#4 lore raw

PATCH 3/4 Convert socfpga: select CONFIG_HW_WATCHDOG support for ARCH_SOCFPGA

In reply to Lukasz Majewski

All Socfpga boards from ./include/configs/socfpga_* define CONFIG_HW_WATCHDOG.
To ease CONFIG_HW_WATCHDOG conversion to Kconfig select it in config ARCH_SOCFPGA (arch/arm/Kconfig) section.

---

 arch/arm/Kconfig                         | 1 +
 include/configs/socfpga_arria10_socdk.h  | 2 --
 include/configs/socfpga_arria5_socdk.h   | 2 --
 include/configs/socfpga_cyclone5_socdk.h | 2 --
 include/configs/socfpga_de0_nano_soc.h   | 2 --
 include/configs/socfpga_de10_nano.h      | 2 --
 include/configs/socfpga_de1_soc.h        | 2 --
 include/configs/socfpga_is1.h            | 2 --
 include/configs/socfpga_mcvevk.h         | 2 --
 include/configs/socfpga_sockit.h         | 2 --
 include/configs/socfpga_socrates.h       | 2 --
 include/configs/socfpga_sr1500.h         | 2 --
 include/configs/socfpga_vining_fpga.h    | 2 --
 13 files changed, 1 insertion(+), 24 deletions(-)
arch/arm/Kconfig +1 -0
index 880a56ba90..9c5cde1b9e 100644
@@ -742,6 +742,7 @@ config ARCH_SOCFPGA
 	select DM_SPI_FLASH
 	select DM_SPI
 	select ENABLE_ARM_SOC_BOOT0_HOOK
+	select HW_WATCHDOG
 	select ARCH_EARLY_INIT_R
 	select ARCH_MISC_INIT
 	select SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
include/configs/socfpga_arria10_socdk.h +0 -2
index 83718dd2c9..82bb48b277 100644
@@ -9,8 +9,6 @@
 
 #include <asm/arch/base_addr_a10.h>
 
-#define CONFIG_HW_WATCHDOG
-
 /* Booting Linux */
 #define CONFIG_LOADADDR		0x01000000
 #define CONFIG_SYS_LOAD_ADDR	CONFIG_LOADADDR
include/configs/socfpga_arria5_socdk.h +0 -2
index 6b6d54b97b..cd5aac65e9 100644
@@ -8,8 +8,6 @@
 
 #include <asm/arch/base_addr_ac5.h>
 
-#define CONFIG_HW_WATCHDOG
-
 /* Memory configurations */
 #define PHYS_SDRAM_1_SIZE		0x40000000	/* 1GiB on SoCDK */
 
include/configs/socfpga_cyclone5_socdk.h +0 -2
index 018a0c3bb4..9c5bd648e3 100644
@@ -8,8 +8,6 @@
 
 #include <asm/arch/base_addr_ac5.h>
 
-#define CONFIG_HW_WATCHDOG
-
 /* Memory configurations */
 #define PHYS_SDRAM_1_SIZE		0x40000000	/* 1GiB on SoCDK */
 
include/configs/socfpga_de0_nano_soc.h +0 -2
index 275ed7ffeb..e5db00e366 100644
@@ -8,8 +8,6 @@
 
 #include <asm/arch/base_addr_ac5.h>
 
-#define CONFIG_HW_WATCHDOG
-
 /* Memory configurations */
 #define PHYS_SDRAM_1_SIZE		0x40000000	/* 1GiB */
 
include/configs/socfpga_de10_nano.h +0 -2
index bb50fcf1ff..656af1104d 100644
@@ -8,8 +8,6 @@
 
 #include <asm/arch/base_addr_ac5.h>
 
-#define CONFIG_HW_WATCHDOG
-
 /* Memory configurations */
 #define PHYS_SDRAM_1_SIZE		0x40000000	/* 1GiB */
 
include/configs/socfpga_de1_soc.h +0 -2
index 05975c9bde..f57b950425 100644
@@ -8,8 +8,6 @@
 
 #include <asm/arch/base_addr_ac5.h>
 
-#define CONFIG_HW_WATCHDOG
-
 /* Memory configurations */
 #define PHYS_SDRAM_1_SIZE		0x40000000	/* 1GiB */
 
include/configs/socfpga_is1.h +0 -2
index 46f5f135dd..dc318e50dc 100644
@@ -9,8 +9,6 @@
 
 #include <asm/arch/base_addr_ac5.h>
 
-#define CONFIG_HW_WATCHDOG
-
 /* Memory configurations */
 #define PHYS_SDRAM_1_SIZE		0x10000000
 
include/configs/socfpga_mcvevk.h +0 -2
index 404f064e94..f13463b8b0 100644
@@ -8,8 +8,6 @@
 
 #include <asm/arch/base_addr_ac5.h>
 
-#define CONFIG_HW_WATCHDOG
-
 /* Memory configurations */
 #define PHYS_SDRAM_1_SIZE		0x40000000	/* 1GiB on MCV */
 
include/configs/socfpga_sockit.h +0 -2
index b4f31c42c5..0bbc7e0105 100644
@@ -8,8 +8,6 @@
 
 #include <asm/arch/base_addr_ac5.h>
 
-#define CONFIG_HW_WATCHDOG
-
 /* Memory configurations */
 #define PHYS_SDRAM_1_SIZE		0x40000000	/* 1GiB on SoCDK */
 
include/configs/socfpga_socrates.h +0 -2
index ebb9ac588d..b66108d0cc 100644
@@ -8,8 +8,6 @@
 
 #include <asm/arch/base_addr_ac5.h>
 
-#define CONFIG_HW_WATCHDOG
-
 /* Memory configurations */
 #define PHYS_SDRAM_1_SIZE		0x40000000	/* 1GiB on SoCrates */
 
include/configs/socfpga_sr1500.h +0 -2
index 39bf612291..871f587d45 100644
@@ -8,8 +8,6 @@
 
 #include <asm/arch/base_addr_ac5.h>
 
-#define CONFIG_HW_WATCHDOG
-
 /* Memory configurations */
 #define PHYS_SDRAM_1_SIZE		0x40000000	/* 1GiB on SR1500 */
 
include/configs/socfpga_vining_fpga.h +0 -2
index 0c76a77525..1197b40b58 100644
@@ -8,8 +8,6 @@
 
 #include <asm/arch/base_addr_ac5.h>
 
-#define CONFIG_HW_WATCHDOG
-
 /* Memory configurations */
 #define PHYS_SDRAM_1_SIZE		0x40000000	/* 1GiB on VINING_FPGA */
 
Signature · 1 line
2.11.0
#5 lore raw

PATCH 4/4 Convert CONFIG_HW_WATCHDOG to Kconfig

In reply to Lukasz Majewski

The CONFIG_HW_WATCHDOG declaration has been converted to Kconfig

---

 configs/axm_defconfig                | 1 +
 configs/calimain_defconfig           | 1 +
 configs/microblaze-generic_defconfig | 1 +
 configs/nokia_rx51_defconfig         | 1 +
 configs/picosam9g45_defconfig        | 1 +
 configs/smartweb_defconfig           | 1 +
 configs/taurus_defconfig             | 1 +
 configs/ts4800_defconfig             | 1 +
 include/configs/M5475EVB.h           | 1 -
 include/configs/M5485EVB.h           | 1 -
 include/configs/calimain.h           | 1 -
 include/configs/controlcenterd.h     | 1 -
 include/configs/eb_cpu5282.h         | 2 --
 include/configs/microblaze-generic.h | 1 -
 include/configs/nokia_rx51.h         | 1 -
 include/configs/picosam9g45.h        | 1 -
 include/configs/smartweb.h           | 3 ---
 include/configs/taurus.h             | 1 -
 include/configs/ts4800.h             | 2 --
 19 files changed, 8 insertions(+), 15 deletions(-)
configs/axm_defconfig +1 -0
index a08c62ff34..8c01a5c101 100644
@@ -39,3 +39,4 @@ CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_PHYLIB=y
 CONFIG_USE_TINY_PRINTF=y
+CONFIG_HW_WATCHDOG=y
configs/calimain_defconfig +1 -0
index d8ab012211..0f9bc9ed32 100644
@@ -23,3 +23,4 @@ CONFIG_ENV_IS_IN_FLASH=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
+CONFIG_HW_WATCHDOG=y
configs/microblaze-generic_defconfig +1 -0
index ca68a81a5b..b12bf30785 100644
@@ -58,3 +58,4 @@ CONFIG_XILINX_AXIEMAC=y
 CONFIG_XILINX_EMACLITE=y
 CONFIG_SYS_NS16550=y
 CONFIG_XILINX_UARTLITE=y
+CONFIG_HW_WATCHDOG=y
configs/nokia_rx51_defconfig +1 -0
index 7b6e6ce730..f294e24f1b 100644
@@ -33,3 +33,4 @@ CONFIG_TWL4030_USB=y
 CONFIG_VIDEO=y
 CONFIG_CFB_CONSOLE_ANSI=y
 # CONFIG_VGA_AS_SINGLE_DEVICE is not set
+CONFIG_HW_WATCHDOG=y
configs/picosam9g45_defconfig +1 -0
index 873776d1ad..70aed83f81 100644
@@ -37,3 +37,4 @@ CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
 CONFIG_LCD=y
 CONFIG_OF_LIBFDT=y
+CONFIG_HW_WATCHDOG=y
configs/smartweb_defconfig +1 -0
index 246003fbfc..28bd3acc45 100644
@@ -54,3 +54,4 @@ CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX=y
 CONFIG_USB_ETHER_MCS7830=y
 # CONFIG_EFI_LOADER is not set
+CONFIG_HW_WATCHDOG=y
configs/taurus_defconfig +1 -0
index 1f47241021..e7e26adf9e 100644
@@ -56,3 +56,4 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0908
 CONFIG_USB_GADGET_PRODUCT_NUM=0x02d2
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_USE_TINY_PRINTF=y
+CONFIG_HW_WATCHDOG=y
configs/ts4800_defconfig +1 -0
index 17497ca52f..8007f9565a 100644
@@ -15,3 +15,4 @@ CONFIG_CMD_FAT=y
 CONFIG_ENV_IS_IN_MMC=y
 CONFIG_PHYLIB=y
 CONFIG_OF_LIBFDT=y
+CONFIG_HW_WATCHDOG=y
include/configs/M5475EVB.h +0 -1
index 3da7e2a410..e8d2b3aacd 100644
@@ -22,7 +22,6 @@
 #define CONFIG_MCFUART
 #define CONFIG_SYS_UART_PORT		(0)
 
-#undef CONFIG_HW_WATCHDOG
 #define CONFIG_WATCHDOG_TIMEOUT	5000	/* timeout in milliseconds, max timeout is 6.71sec */
 
 #define CONFIG_SLTTMR
include/configs/M5485EVB.h +0 -1
index 2b26f0fe85..f428a20d82 100644
@@ -22,7 +22,6 @@
 #define CONFIG_MCFUART
 #define CONFIG_SYS_UART_PORT		(0)
 
-#undef CONFIG_HW_WATCHDOG
 #define CONFIG_WATCHDOG_TIMEOUT	5000	/* timeout in milliseconds, max timeout is 6.71sec */
 
 #define CONFIG_SLTTMR
include/configs/calimain.h +0 -1
index 4c2f6ba2d5..524d784811 100644
@@ -29,7 +29,6 @@
 #define CONFIG_SYS_TEXT_BASE		0x60000000
 #define CONFIG_ARCH_CPU_INIT
 #define CONFIG_DA8XX_GPIO
-#define CONFIG_HW_WATCHDOG
 #define CONFIG_SYS_WDTTIMERBASE	DAVINCI_TIMER1_BASE
 #define CONFIG_SYS_WDT_PERIOD_LOW \
 	(60 * CONFIG_SYS_OSCIN_FREQ) /* 60 s heartbeat */
include/configs/controlcenterd.h +0 -1
index 4312ddd4fc..9eafcd01ab 100644
@@ -339,7 +339,6 @@
 /*
  * Miscellaneous configurable options
  */
-#define CONFIG_HW_WATCHDOG
 #define CONFIG_LOADS_ECHO
 #define CONFIG_SYS_LOADS_BAUD_CHANGE
 
include/configs/eb_cpu5282.h +0 -2
index 17c7fa757e..470b2095f8 100644
@@ -32,8 +32,6 @@
 #define CONFIG_RESET_TO_RETRY
 #define CONFIG_SPLASH_SCREEN
 
-#define CONFIG_HW_WATCHDOG
-
 #define STATUS_LED_ACTIVE		0
 
 /*----------------------------------------------------------------------*
include/configs/microblaze-generic.h +0 -1
index 16481cb7ce..254558045c 100644
@@ -50,7 +50,6 @@
 # define CONFIG_WATCHDOG_BASEADDR	XILINX_WATCHDOG_BASEADDR
 # define CONFIG_WATCHDOG_IRQ		XILINX_WATCHDOG_IRQ
 # ifndef CONFIG_SPL_BUILD
-#  define CONFIG_HW_WATCHDOG
 #  define CONFIG_XILINX_TB_WATCHDOG
 # endif
 #endif
include/configs/nokia_rx51.h +0 -1
index 6312ed737c..1b44ad7451 100644
@@ -159,7 +159,6 @@
 #endif
 
 /* Watchdog support */
-#define CONFIG_HW_WATCHDOG
 
 /*
  * Framebuffer
include/configs/picosam9g45.h +0 -1
index dc7a67d77c..c8807fb754 100644
@@ -67,7 +67,6 @@
 
 /* Enable the watchdog */
 #define CONFIG_AT91SAM9_WATCHDOG
-#define CONFIG_HW_WATCHDOG
 
 /*
  * Command line configuration.
include/configs/smartweb.h +0 -3
index 49c838bf72..5bbf4c28f6 100644
@@ -125,9 +125,6 @@
 
 /* Enable the watchdog */
 #define CONFIG_AT91SAM9_WATCHDOG
-#if !defined(CONFIG_SPL_BUILD)
-#define CONFIG_HW_WATCHDOG
-#endif
 #define CONFIG_AT91_HW_WDT_TIMEOUT	15
 
 #if !defined(CONFIG_SPL_BUILD)
include/configs/taurus.h +0 -1
index ce06f7bb5f..04d8e8d433 100644
@@ -94,7 +94,6 @@
 #define CONFIG_AT91_HW_WDT_TIMEOUT	15
 #if !defined(CONFIG_SPL_BUILD)
 /* Enable the watchdog */
-#define CONFIG_HW_WATCHDOG
 #endif
 
 /* USB */
include/configs/ts4800.h +0 -2
index ebfbb66bab..e459c776a7 100644
@@ -17,8 +17,6 @@
 
 #define CONFIG_SKIP_LOWLEVEL_INIT	/* U-Boot is a 2nd stage bootloader */
 
-#define CONFIG_HW_WATCHDOG
-
 #define CONFIG_MACH_TYPE	MACH_TYPE_TS48XX
 
 /* text base address used when linking */
Signature · 1 line
2.11.0