diff mbox series

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

Message ID 7ed7385bb852dbbb2ce220cb8e6ca4705a263b8e.1623440557.git.jan.kiszka@siemens.com
State Changes Requested
Delegated to: Lokesh Vutla
Headers show
Series Add SIMATIC IOT2050 board support | expand

Commit Message

Jan Kiszka June 11, 2021, 7:42 p.m. UTC
From: Jan Kiszka <jan.kiszka@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@siemens.com>
---
 configs/iot2050_defconfig | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

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