Hi Shubhrajyoti, On Tue, Jan 24, 2012 at 11:40:43, Shubhrajyoti Datta wrote: > Hi Vaibhav, > > On Tue, Jan 24, 2012 at 10:32 AM, Bedia, Vaibhav <vaibhav.bedia@xxxxxx> wrote: > > On Mon, Jan 23, 2012 at 16:43:07, Datta, Shubhrajyoti wrote: > >> This patch intends to implement the WDIOC_GETBOOTSTATUS ioctl > >> for the omap3 and omap4. > >> > > > > Instead of just returning the register content why not parse > > the RSTST register value and check if it's really a watchdog > > reset or not? > > That is what is done for 24xx and below cpus. So I thought of extending it. > > IMO they also need to be fixed then :) Just returning the register content does not help much and looking at other implementations, like Blackfin, I am guessing this IOCTL is supposed to give a yes/no sort of result. Regards, Vaibhav B. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html