iot2050: Add watchdog start to bootcmd
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 28 Feb 2023 18:19:13 +0000 (19:19 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 29 Mar 2023 15:58:26 +0000 (11:58 -0400)
commit4578095f1bef5f60923c58bf2560d12e6cfa2462
treed822f6d30aedf6f95b9f22c90073239c643c41b0
parentd5436aad140aa452856509affd99ffc5fceb49d7
iot2050: Add watchdog start to bootcmd

Allows run-time control over watchdog auto-start and the timeout via
setting the environment variable watchdog_timeout_ms. A value of zero
means "do not start". Use CONFIG_WATCHDOG_TIMEOUT_MSECS as initial value
and this to zero by default. Users can then enable the watchdog once the
use and OS which picks it up during boot.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
board/siemens/iot2050/iot2050.env
configs/iot2050_pg1_defconfig
configs/iot2050_pg2_defconfig