]> git.dujemihanovic.xyz Git - u-boot.git/commit
watchdog: mx25: use the imx_watchdog driver for mx25
authorMartin Kaiser <martin@kaiser.cx>
Sat, 21 Jul 2018 17:47:03 +0000 (19:47 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 4 Sep 2018 06:47:23 +0000 (08:47 +0200)
commit69f78cf840d03c25347847aaa74f2bdfa6c19f46
tree018148bb64298c18820c071608c85e10192e96e8
parent1a8c01995fa7a5086a51f3cf0d11e54ef07beefe
watchdog: mx25: use the imx_watchdog driver for mx25

The existing imx_watchdog driver is compatible with mx25 chipsets.
Add a WDOG1_BASE_ADDR define for the base address and enable the driver
in watchdog's Makefile.

To use the driver, a board must define CONFIG_IMX_WATCHDOG and
CONFIG_HW_WATCHDOG.

This fixes an issue when booting an mx25 chip via usb/serial. In this
case, the boot rom will always enable the watchdog. If u-boot is running
in interactive mode and the watchdog is not serviced, the system is
rebooted when the watchdog expires.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
arch/arm/include/asm/arch-mx25/imx-regs.h
drivers/watchdog/Makefile