[PATCH 03/11] Convert CONFIG_WATCHDOG_TIMEOUT_MSECS to Kconfig

Tom Rini trini at konsulko.com
Mon Dec 13 04:12:28 CET 2021


This converts the following to Kconfig:
   CONFIG_WATCHDOG_TIMEOUT_MSECS

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 configs/socfpga_secu1_defconfig        | 1 +
 include/configs/socfpga_arria5_secu1.h | 3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/configs/socfpga_secu1_defconfig b/configs/socfpga_secu1_defconfig
index 3c53d95c52c7..f7bdb906bca3 100644
--- a/configs/socfpga_secu1_defconfig
+++ b/configs/socfpga_secu1_defconfig
@@ -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
diff --git a/include/configs/socfpga_arria5_secu1.h b/include/configs/socfpga_arria5_secu1.h
index 9ce5fa62d560..0935eaedacb6 100644
--- a/include/configs/socfpga_arria5_secu1.h
+++ b/include/configs/socfpga_arria5_secu1.h
@@ -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__ */
-- 
2.25.1



More information about the U-Boot mailing list