public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mx31: add "ARM11P power gating" to get_reset_cause
Date: Wed, 07 Mar 2012 11:16:13 +0100	[thread overview]
Message-ID: <4F57356D.9020904@denx.de> (raw)
In-Reply-To: <1329381874-14023-1-git-send-email-helmut.raiger@hale.at>

On 16/02/2012 09:44, Helmut Raiger wrote:
> Add missing reset reason 7 to get_reset_cause().
> 
> Signed-off-by: Helmut Raiger <helmut.raiger@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: office at denx.de
=====================================================================

  reply	other threads:[~2012-03-07 10:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-16  8:44 [U-Boot] [PATCH] mx31: add "ARM11P power gating" to get_reset_cause Helmut Raiger
2012-03-07 10:16 ` Stefano Babic [this message]
2012-03-07 10:16 ` Helmut Raiger
2012-03-07 10:49   ` Stefano Babic
2012-03-07 12:42     ` Helmut Raiger
2012-03-07 13:03       ` Stefano Babic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F57356D.9020904@denx.de \
    --to=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox