Hi Wolfram, On 03/20/2018 11:36 PM, Wolfram Sang wrote: > From: Veeraiyan Chidambaram <veeraiyan.chidambaram@xxxxxxxxxxxx> > > This patch adds the WDIOF_CARDRESET support for the Renessas platform typo, s/Renessas/Renesas/ > 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 <veeraiyan.chidambaram@xxxxxxxxxxxx> > [takeshi.kihara.df: changed to read the RWTCSRA register while clock is > enabled] > Signed-off-by: Takeshi Kihara <takeshi.kihara.df@xxxxxxxxxxx> > Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> Reviewed-by: Vladimir Zapolskiy <vz@xxxxxxxxx> -- With best wishes, Vladimir