board: phytec: phycore-am62x: Add watchdog start to bootcmd
authorWadim Egorov <w.egorov@phytec.de>
Wed, 30 Jul 2025 15:42:14 +0000 (17:42 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 11 Aug 2025 20:53:56 +0000 (14:53 -0600)
commitd27b7a1c777abe1bc103c983d0af082345457e7d
tree519d02414055f5a926e1c885e28e94d6fe9dc410
parentdcc85e9aba41c82e9b54d2d925f83233842285a1
board: phytec: phycore-am62x: 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.
Users can enable the watchdog to monitor the boot process until userspace
or OS takes over to serve the watchdog.

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
board/phytec/phycore_am62x/phycore_am62x.env
configs/phycore_am62x_a53_defconfig
include/env/phytec/watchdog.env [new file with mode: 0644]