Add support for the watchdog timer found on A31 and later SoCs, which has a
authorkettenis <kettenis@openbsd.org>
Sat, 27 Aug 2016 14:13:14 +0000 (14:13 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 27 Aug 2016 14:13:14 +0000 (14:13 +0000)
commitda1be230f5b09a0f60e961739f6906d6033ce1ff
treeac72cca473781ba0ad58eba43b22e1175484709d
parent01ce41e4b00091097ba3e76d5656245a8e26f009
Add support for the watchdog timer found on A31 and later SoCs, which has a
slightly different register layout.  Also fix the watchdog such that it
actually disables itself when you set the period to 0 and actually gives you
a period that is close to what you asked for.
sys/arch/armv7/sunxi/sxidog.c