aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorVeeraiyan Chidambaram <[email protected]>2018-04-13 16:19:24 +0200
committerWim Van Sebroeck <[email protected]>2018-04-16 10:22:40 +0200
commitfdac6a90d2d151abdbb7e5ec14bb9ab64e2931ec (patch)
tree2d1d3324a46d138c0d628d5c940894a13a6b5b09 /scripts/gdb/linux
parente30d69df78fb2667dc58e906cabd0f70ed0af95d (diff)
watchdog: renesas-wdt: Add support for WDIOF_CARDRESET
This patch adds the WDIOF_CARDRESET support for the Renesas platform watchdog, to know if the board reboot is due to a watchdog reset. This is done via the WOVF bit (bit 4) of the RWTCSRA register, which indicates if RWTCNT overflowed, triggering the reset in last boot. Signed-off-by: Veeraiyan Chidambaram <[email protected]> [takeshi.kihara.df: changed to read the RWTCSRA register while clock is enabled] Signed-off-by: Takeshi Kihara <[email protected]> Signed-off-by: Wolfram Sang <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Reviewed-by: Vladimir Zapolskiy <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions