]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx6ul_14x14_evk: Convert to watchdog driver model
authorFabio Estevam <festevam@denx.de>
Fri, 18 Oct 2024 17:55:49 +0000 (14:55 -0300)
committerFabio Estevam <festevam@gmail.com>
Fri, 25 Oct 2024 12:04:20 +0000 (09:04 -0300)
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 <festevam@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
configs/mx6ul_14x14_evk_defconfig

index 522c5660d72ca394f747b1e35fd88bbddde5dde0..9fbd2c648bc7bd6aeeae2084944f6b3e45f9729f 100644 (file)
@@ -89,6 +89,9 @@ CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_QSPI=y
 CONFIG_SOFT_SPI=y
+CONFIG_SYSRESET=y
+CONFIG_SYSRESET_WATCHDOG=y
+CONFIG_SYSRESET_WATCHDOG_AUTO=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
 CONFIG_SPL_USB_HOST=y
@@ -107,3 +110,4 @@ CONFIG_VIDEO_MXS=y
 CONFIG_SPLASH_SCREEN=y
 CONFIG_SPLASH_SCREEN_ALIGN=y
 CONFIG_BMP_16BPP=y
+CONFIG_IMX_WATCHDOG=y