Set RESTART_FLAG_WARM_BOOTROM for imxwd-warm, so reset -w directly selects this handler. i.MX6QDL/8MM Users now can just do gpr.reboot_mode.next=serial reset -w and it should behave as expected. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- drivers/watchdog/imxwd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/imxwd.c b/drivers/watchdog/imxwd.c index b669f6702d62..5e9962866f54 100644 --- a/drivers/watchdog/imxwd.c +++ b/drivers/watchdog/imxwd.c @@ -230,6 +230,7 @@ static int imx21_wd_init(struct imx_wd *priv) priv->restart_warm.name = "imxwd-warm"; priv->restart_warm.restart = imxwd_force_soc_reset_internal; priv->restart_warm.priority = RESTART_DEFAULT_PRIORITY - 10; + priv->restart_warm.flags = RESTART_FLAG_WARM_BOOTROM; restart_handler_register(&priv->restart_warm); -- 2.30.2