On Tue, Mar 20, 2018 at 10:36 PM, Wolfram Sang <[email protected]> wrote: > From: Veeraiyan Chidambaram <[email protected]> > > This patch adds the WDIOF_CARDRESET support for the Renessas 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: Geert Uytterhoeven <[email protected]> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
