diff options
| author | Wadim Egorov <[email protected]> | 2025-07-30 17:42:14 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-08-11 14:53:56 -0600 |
| commit | d27b7a1c777abe1bc103c983d0af082345457e7d (patch) | |
| tree | 519d02414055f5a926e1c885e28e94d6fe9dc410 /board/phytec | |
| parent | dcc85e9aba41c82e9b54d2d925f83233842285a1 (diff) | |
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 <[email protected]>
Diffstat (limited to 'board/phytec')
| -rw-r--r-- | board/phytec/phycore_am62x/phycore_am62x.env | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/phytec/phycore_am62x/phycore_am62x.env b/board/phytec/phycore_am62x/phycore_am62x.env index 797904013dc..3f4b3cc4f0d 100644 --- a/board/phytec/phycore_am62x/phycore_am62x.env +++ b/board/phytec/phycore_am62x/phycore_am62x.env @@ -2,6 +2,7 @@ #include <env/phytec/k3_mmc.env> #include <env/phytec/k3_net.env> #include <env/phytec/k3_spi.env> +#include <env/phytec/watchdog.env> fdtaddr=0x88000000 loadaddr=0x82000000 @@ -27,3 +28,5 @@ spi_ramdisk_addr=0x2200000 bootmeths=script efi extlinux pxe boot_targets=mmc1 mmc0 spi_flash dhcp + +watchdog=watchdog@e000000 |
