OMAP4 has two watchdog timers timer 2/MPU and timer 3/IVA.
authorjsg <jsg@openbsd.org>
Mon, 27 Nov 2017 06:29:41 +0000 (06:29 +0000)
committerjsg <jsg@openbsd.org>
Mon, 27 Nov 2017 06:29:41 +0000 (06:29 +0000)
commitac5fc12c27e42da8db8da0e90ff1003fabe2a7b8
tree6aaa00254e272128a0d26fb90ef58314f141de34
parent6fecfdc5f131bb9405abe986fec0d56a6ec4c712
OMAP4 has two watchdog timers timer 2/MPU and timer 3/IVA.
Previously the device tree only described one but now it describes both.
Do not attempt to set the global variable that points to a softc or
register a watchdog if this has already been done.

Fixes rebooting on the OMAP4 based PandaBoard-ES with a device tree from
linux 4.15-rc1.
sys/arch/armv7/omap/omdog.c