RE: [PATCH] imx: distinguish POR from POR+WDOG reset cause for first wd

2020-01-27 Thread Flavio Suligoi
Hi Peng, > -Original Message- > From: Peng Fan > Sent: lunedì 27 gennaio 2020 13:50 > To: Flavio Suligoi ; Fabio Estevam > Cc: Stefano Babic ; dl-uboot-imx ; U- > Boot-Denx > Subject: RE: [PATCH] imx: distinguish POR from POR+WDOG reset cause for > first wd

RE: [PATCH] imx: distinguish POR from POR+WDOG reset cause for first wd

2020-01-27 Thread Peng Fan
> Subject: RE: [PATCH] imx: distinguish POR from POR+WDOG reset cause for > first wd > > Hi Fabio, > > > > > Hi Flavio, > > > > On Wed, Jan 22, 2020 at 11:18 AM Flavio Suligoi wrote: > > > > > > In some application the possibili

RE: [PATCH] imx: distinguish POR from POR+WDOG reset cause for first wd

2020-01-23 Thread Flavio Suligoi
Hi Fabio, > > Hi Flavio, > > On Wed, Jan 22, 2020 at 11:18 AM Flavio Suligoi wrote: > > > > In some application the possibility to check if the reset > > is caused by a watchdog is essential, even if it occurs > > simultaneously with POR. > > > > Signed-off-by: Flavio Suligoi > > --- > > arch

Re: [PATCH] imx: distinguish POR from POR+WDOG reset cause for first wd

2020-01-22 Thread Fabio Estevam
Hi Flavio, On Wed, Jan 22, 2020 at 11:18 AM Flavio Suligoi wrote: > > In some application the possibility to check if the reset > is caused by a watchdog is essential, even if it occurs > simultaneously with POR. > > Signed-off-by: Flavio Suligoi > --- > arch/arm/mach-imx/cpu.c | 7 ++- > 1

[PATCH] imx: distinguish POR from POR+WDOG reset cause for first wd

2020-01-22 Thread Flavio Suligoi
In some application the possibility to check if the reset is caused by a watchdog is essential, even if it occurs simultaneously with POR. Signed-off-by: Flavio Suligoi --- arch/arm/mach-imx/cpu.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/cpu.c b