Hi Wolfram, On 03/20/2018 11:36 PM, Wolfram Sang wrote: > From: Veeraiyan Chidambaram <[email protected]> > > 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 <[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: Vladimir Zapolskiy <[email protected]> -- With best wishes, Vladimir
