Re: [PATCH v2 03/10] ARM: i.MX6: Record reset reason as a part of startup

2018-05-03 Thread Jan Lübbe
On Wed, 2018-05-02 at 10:46 -0700, Andrey Smirnov wrote: > On Wed, May 2, 2018 at 7:42 AM, Jan Lübbe wrote: > > There is already code in drivers/watchdog/imxwd.c to handle this. > > Is that obsolete now? > > AFAIK, watchdog IP block doesn't have as precise information about

Re: [PATCH v2 03/10] ARM: i.MX6: Record reset reason as a part of startup

2018-05-02 Thread Andrey Smirnov
On Wed, May 2, 2018 at 7:42 AM, Jan Lübbe wrote: > There is already code in drivers/watchdog/imxwd.c to handle this. Is > that obsolete now? > AFAIK, watchdog IP block doesn't have as precise information about reset source as SRSR register on i.MX SoCs that have the latter.

Re: [PATCH v2 03/10] ARM: i.MX6: Record reset reason as a part of startup

2018-05-02 Thread Jan Lübbe
There is already code in drivers/watchdog/imxwd.c to handle this. Is that obsolete now? On Fri, 2018-04-20 at 18:05 -0700, Andrey Smirnov wrote: > Signed-off-by: Andrey Smirnov > --- > arch/arm/mach-imx/imx6.c | 13 - >

[PATCH v2 03/10] ARM: i.MX6: Record reset reason as a part of startup

2018-04-20 Thread Andrey Smirnov
Signed-off-by: Andrey Smirnov --- arch/arm/mach-imx/imx6.c | 13 - arch/arm/mach-imx/include/mach/reset-reason.h | 2 ++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/imx6.c b/arch/arm/mach-imx/imx6.c