[PATCH v3 5/5] configs: iot2050: Enable watchdog support, but do not auto-start it

Jan Kiszka jan.kiszka at siemens.com
Fri Jun 11 21:42:37 CEST 2021


From: Jan Kiszka <jan.kiszka at siemens.com>

This allows to use the watchdog in custom scripts but does not enforce
that the OS has to support it as well.

Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
---
 configs/iot2050_defconfig | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/configs/iot2050_defconfig b/configs/iot2050_defconfig
index 2ea13f3a39..f228dc8a89 100644
--- a/configs/iot2050_defconfig
+++ b/configs/iot2050_defconfig
@@ -52,6 +52,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_PCI=y
 CONFIG_CMD_REMOTEPROC=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_WDT=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TIME=y
 # CONFIG_ISO_PARTITION is not set
@@ -136,5 +137,10 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GENERIC=y
 CONFIG_USB_KEYBOARD=y
+# CONFIG_WATCHDOG is not set
+# CONFIG_WATCHDOG_AUTOSTART is not set
+CONFIG_WDT=y
+CONFIG_WDT_K3_RTI=y
+CONFIG_WDT_K3_RTI_LOAD_FW=y
 CONFIG_FAT_WRITE=y
 CONFIG_OF_LIBFDT_OVERLAY=y
-- 
2.26.2



More information about the U-Boot mailing list