]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r291149, r291367:
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 24 Jan 2016 19:34:05 +0000 (19:34 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 24 Jan 2016 19:34:05 +0000 (19:34 +0000)
commit4c22f4563b4fdbfdfa319d52cee47d0f1b74ec17
tree175cf68a0ad511e246764c76b82c94ac2c1f55e5
parenta8ccc142dea61bfa25c6ae8fa6839be577e74c74
MFC r291149, r291367:

  Update the imx5/imx6 cpu_reset() implementation based on a new understanding
  of the SRS (software reset) bit in the watchdog control register.  Despite
  what the manual seems to imply, this bit DOES trigger an immediate reset, as
  opposed to simply flagging the type of reset as software-triggered.

  Rename sysctl node hw.imx6 to hw.imx.  Move its definition to imx_machdep.c
  so that code shared between imx5 and imx6 can work with OIDs under that node.

  Add last_reset_status (integer) and last_reset_reason (string) OIDs that
  provide info about the last chip reset (power-on, software reset, watchdog
  timeout).

git-svn-id: svn://svn.freebsd.org/base/stable/10@294678 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/arm/freescale/imx/imx6_anatop.c
sys/arm/freescale/imx/imx6_machdep.c
sys/arm/freescale/imx/imx_machdep.c
sys/arm/freescale/imx/imx_machdep.h
sys/arm/freescale/imx/imx_wdogreg.h