diff options
author | Jan Kiszka | 2023-02-28 19:19:13 +0100 |
---|---|---|
committer | Tom Rini | 2023-03-29 11:58:26 -0400 |
commit | 4578095f1bef5f60923c58bf2560d12e6cfa2462 (patch) | |
tree | d822f6d30aedf6f95b9f22c90073239c643c41b0 /configs/iot2050_pg1_defconfig | |
parent | d5436aad140aa452856509affd99ffc5fceb49d7 (diff) |
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>
Diffstat (limited to 'configs/iot2050_pg1_defconfig')
-rw-r--r-- | configs/iot2050_pg1_defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/iot2050_pg1_defconfig b/configs/iot2050_pg1_defconfig index 57a2a6d6f14..3075021fd32 100644 --- a/configs/iot2050_pg1_defconfig +++ b/configs/iot2050_pg1_defconfig @@ -32,6 +32,7 @@ CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTSTAGE=y CONFIG_SHOW_BOOT_PROGRESS=y CONFIG_SPL_SHOW_BOOT_PROGRESS=y +CONFIG_BOOTCOMMAND="run start_watchdog; run distro_bootcmd" CONFIG_CONSOLE_MUX=y # CONFIG_DISPLAY_CPUINFO is not set CONFIG_SPL_MAX_SIZE=0x58000 @@ -140,6 +141,7 @@ CONFIG_USB_DWC3_GENERIC=y CONFIG_USB_KEYBOARD=y # CONFIG_WATCHDOG is not set # CONFIG_WATCHDOG_AUTOSTART is not set +CONFIG_WATCHDOG_TIMEOUT_MSECS=0 CONFIG_WDT=y CONFIG_WDT_K3_RTI=y CONFIG_WDT_K3_RTI_LOAD_FW=y |