]> git.dujemihanovic.xyz Git - u-boot.git/commit
kmp204x: set CPU watchdog reset reason flag
authorBoschung, Rainer <Rainer.Boschung@keymile.com>
Tue, 3 Jun 2014 07:05:18 +0000 (09:05 +0200)
committerYork Sun <yorksun@freescale.com>
Fri, 1 Aug 2014 21:18:46 +0000 (14:18 -0700)
commita09f470d49c4a6355f16fee6455d964211021e3d
treef1dce6d06e7a38473406800160b71d9f86f78a2f
parent807d93d6de5f54cfdcc98bb6c392b2b1f4237dc8
kmp204x: set CPU watchdog reset reason flag

Check the core timer status register (TSR) for watchdog reset,
and and set the QRIO's reset reason flag REASON1[0] accordingly.

This allows the appliction SW to identify the cpu watchdog as a
reset reason, by setting the REASON1[0] flag in the QRIO.

Signed-off-by: Rainer Boschung <rainer.boschung@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Reviewed-by: York Sun <yorksun@freescale.com>
board/keymile/kmp204x/kmp204x.c