Re: [U-Boot] [PATCH] mx31: add ARM11P power gating to get_reset_cause
On 02/16/2012 09:44 AM, Helmut Raiger wrote: Add missing reset reason 7 to get_reset_cause(). Signed-off-by: Helmut Raigerhelmut.rai...@hale.at --- arch/arm/cpu/arm1136/mx31/generic.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm1136/mx31/generic.c b/arch/arm/cpu/arm1136/mx31/generic.c index d60afc9..8873fb7 100644 --- a/arch/arm/cpu/arm1136/mx31/generic.c +++ b/arch/arm/cpu/arm1136/mx31/generic.c @@ -210,6 +210,8 @@ static char *get_reset_cause(void) return WDOG; case 0x0006: return JTAG; + case 0x0007: + return ARM11P power gating; default: return unknown reset; } Please comment. Helmut -- Scanned by MailScanner. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] mx31: add ARM11P power gating to get_reset_cause
On 16/02/2012 09:44, Helmut Raiger wrote: Add missing reset reason 7 to get_reset_cause(). Signed-off-by: Helmut Raiger helmut.rai...@hale.at --- arch/arm/cpu/arm1136/mx31/generic.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm1136/mx31/generic.c b/arch/arm/cpu/arm1136/mx31/generic.c index d60afc9..8873fb7 100644 --- a/arch/arm/cpu/arm1136/mx31/generic.c +++ b/arch/arm/cpu/arm1136/mx31/generic.c @@ -210,6 +210,8 @@ static char *get_reset_cause(void) return WDOG; case 0x0006: return JTAG; + case 0x0007: + return ARM11P power gating; default: return unknown reset; } Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: off...@denx.de = ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] mx31: add ARM11P power gating to get_reset_cause
On 07/03/2012 11:16, Helmut Raiger wrote: On 02/16/2012 09:44 AM, Helmut Raiger wrote: Add missing reset reason 7 to get_reset_cause(). Signed-off-by: Helmut Raigerhelmut.rai...@hale.at Hi Helmut, --- arch/arm/cpu/arm1136/mx31/generic.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm1136/mx31/generic.c b/arch/arm/cpu/arm1136/mx31/generic.c index d60afc9..8873fb7 100644 --- a/arch/arm/cpu/arm1136/mx31/generic.c +++ b/arch/arm/cpu/arm1136/mx31/generic.c @@ -210,6 +210,8 @@ static char *get_reset_cause(void) return WDOG; case 0x0006: return JTAG; +case 0x0007: +return ARM11P power gating; default: return unknown reset; } ??? I have applied the patch and I sent an applied to.. message. Which comment do you expect ? Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: off...@denx.de = ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] mx31: add ARM11P power gating to get_reset_cause
On 03/07/2012 11:49 AM, Stefano Babic wrote: ??? I have applied the patch and I sent an applied to.. message. Which comment do you expect ? Hi Stefano, I received the applied to .. message at 11:16 today and this e-mail at 11:49, the patch is from 3-weeks ago. I just wanted to push it, no more. Might have been an e-mail glitch? Thanx anyway, Helmut -- Scanned by MailScanner. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] mx31: add ARM11P power gating to get_reset_cause
On 07/03/2012 13:42, Helmut Raiger wrote: I received the applied to .. message at 11:16 today and this e-mail at 11:49, the patch is from 3-weeks ago. I just wanted to push it, no more. Might have been an e-mail glitch? Of course, it is. We checked the status exactly at the same time. Very improbable, but it is happen. Rather it is not a lottery and we did not won anything ;-) Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: off...@denx.de = ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH] mx31: add ARM11P power gating to get_reset_cause
Add missing reset reason 7 to get_reset_cause(). Signed-off-by: Helmut Raiger helmut.rai...@hale.at --- arch/arm/cpu/arm1136/mx31/generic.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm1136/mx31/generic.c b/arch/arm/cpu/arm1136/mx31/generic.c index d60afc9..8873fb7 100644 --- a/arch/arm/cpu/arm1136/mx31/generic.c +++ b/arch/arm/cpu/arm1136/mx31/generic.c @@ -210,6 +210,8 @@ static char *get_reset_cause(void) return WDOG; case 0x0006: return JTAG; + case 0x0007: + return ARM11P power gating; default: return unknown reset; } -- 1.7.4.4 -- Scanned by MailScanner. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot