]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx6slevk: Convert to watchdog driver model
authorFabio Estevam <festevam@denx.de>
Mon, 26 Aug 2024 18:04:51 +0000 (15:04 -0300)
committerFabio Estevam <festevam@gmail.com>
Fri, 30 Aug 2024 18:50:36 +0000 (15:50 -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>
configs/mx6slevk_defconfig

index 9beb045d7df3417607959248fd7815a60ba24037..a9d7435c0e8930d350a8856cafb52e0f34879331 100644 (file)
@@ -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