]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r286942, r286943, r286944: imx watchdog fixes...
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 23 Aug 2015 20:16:13 +0000 (20:16 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 23 Aug 2015 20:16:13 +0000 (20:16 +0000)
commit92e50767adb1b291beb6421a7670d9f9b005b6c8
treee79f361a8427f802be4070c71b25fa51fd4a8294
parentfb2f06ee10c9d0e7d60be12166c6b97806ae6203
MFC r286942, r286943, r286944: imx watchdog fixes...

  Add compatible strings for all the hardware this driver works with.

  Also, move the READ/WRITE bus space access macros from the header into the
  source file, and rename them to RD2/WR2 to make it clear they're 16-bit
  accessors.  (READ/WRITE just don't seem like good names to be in a public
  header file.)

  Make the imx watchdog actually work, by setting WDOG_CR_WDE (enable bit).
  Also, follow the rules from watchdog(9) about what values to return in
  various situations (especially, don't touch *error when asked to set a
  non-zero timeout that isn't achievable on the hardware).

  Enable the watchdog driver on imx6, now that it works.

git-svn-id: svn://svn.freebsd.org/base/stable/10@287079 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/arm/conf/IMX6
sys/arm/freescale/imx/imx_wdog.c
sys/arm/freescale/imx/imx_wdogreg.h