Convert CONFIG_WATCHDOG_TIMEOUT_MSECS to Kconfig
authorTom Rini <trini@konsulko.com>
Mon, 13 Dec 2021 03:12:28 +0000 (22:12 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 27 Dec 2021 13:41:38 +0000 (08:41 -0500)
This converts the following to Kconfig:
   CONFIG_WATCHDOG_TIMEOUT_MSECS

Signed-off-by: Tom Rini <trini@konsulko.com>
configs/socfpga_secu1_defconfig
include/configs/socfpga_arria5_secu1.h

index 3c53d95..f7bdb90 100644 (file)
@@ -93,6 +93,7 @@ CONFIG_RTC_M41T62=y
 CONFIG_SPI=y
 CONFIG_SPI_MEM=y
 CONFIG_DESIGNWARE_SPI=y
+CONFIG_WATCHDOG_TIMEOUT_MSECS=60000
 CONFIG_DESIGNWARE_WATCHDOG=y
 CONFIG_WDT=y
 # CONFIG_GZIP is not set
index 9ce5fa6..0935eae 100644 (file)
@@ -95,7 +95,4 @@
 /* The rest of the configuration is shared */
 #include <configs/socfpga_common.h>
 
-#undef CONFIG_WATCHDOG_TIMEOUT_MSECS
-#define CONFIG_WATCHDOG_TIMEOUT_MSECS  60000
-
 #endif /* __CONFIG_SOCFPGA_SECU1_H__ */