From 3344b68fdceaf321c1a900cae2fb838da7ea66c5 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 26 Aug 2024 15:04:51 -0300 Subject: [PATCH] mx6slevk: Convert to watchdog driver model Commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") caused the 'reset' command in U-Boot to not cause a board reset. Fix it by switching to the watchdog driver model via sysreset, which is the preferred method for implementing the watchdog reset. Signed-off-by: Fabio Estevam --- configs/mx6slevk_defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configs/mx6slevk_defconfig b/configs/mx6slevk_defconfig index 9beb045d7d..a9d7435c0e 100644 --- a/configs/mx6slevk_defconfig +++ b/configs/mx6slevk_defconfig @@ -63,9 +63,13 @@ CONFIG_MXC_UART=y CONFIG_SPI=y CONFIG_DM_SPI=y CONFIG_MXC_SPI=y +CONFIG_SYSRESET=y +CONFIG_SYSRESET_WATCHDOG=y +CONFIG_SYSRESET_WATCHDOG_AUTO=y CONFIG_DM_THERMAL=y CONFIG_IMX_THERMAL=y CONFIG_USB=y CONFIG_USB_STORAGE=y CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_ASIX=y +CONFIG_IMX_WATCHDOG=y -- 2.39.5