aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-12-12 22:12:28 -0500
committerTom Rini <trini@konsulko.com>2021-12-27 08:41:38 -0500
commit82edd737620ab5ab7361c60249b9055725e87ed6 (patch)
tree50052ab463e1900c0b1170af13b1d3cd496a48be
parent3847ba94f0207cca171d728aca1637b16e1210a9 (diff)
downloadu-boot-82edd737620ab5ab7361c60249b9055725e87ed6.zip
u-boot-82edd737620ab5ab7361c60249b9055725e87ed6.tar.gz
u-boot-82edd737620ab5ab7361c60249b9055725e87ed6.tar.bz2
Convert CONFIG_WATCHDOG_TIMEOUT_MSECS to Kconfig
This converts the following to Kconfig: CONFIG_WATCHDOG_TIMEOUT_MSECS Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--configs/socfpga_secu1_defconfig1
-rw-r--r--include/configs/socfpga_arria5_secu1.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/configs/socfpga_secu1_defconfig b/configs/socfpga_secu1_defconfig
index 3c53d95..f7bdb90 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 9ce5fa6..0935eae 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__ */