All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] MX31: Improve readability for reset cause
Date: Mon, 19 Sep 2011 11:22:24 +0200	[thread overview]
Message-ID: <4E7709D0.1070200@denx.de> (raw)
In-Reply-To: <1316181682-14164-1-git-send-email-fabio.estevam@freescale.com>

On 09/16/2011 04:01 PM, Fabio Estevam wrote:
> Currently the reset cause is printed like:
> CPU:   Freescale i.MX31 rev 2.0 at 531 MHz.Reset cause: POR
> 
> Improve readability by adding a new line like it is done on other i.MX boards.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  arch/arm/cpu/arm1136/mx31/generic.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/cpu/arm1136/mx31/generic.c b/arch/arm/cpu/arm1136/mx31/generic.c
> index e3a4d1b..c6def5d 100644
> --- a/arch/arm/cpu/arm1136/mx31/generic.c
> +++ b/arch/arm/cpu/arm1136/mx31/generic.c
> @@ -180,7 +180,7 @@ int print_cpuinfo (void)
>  {
>  	u32 srev = get_cpu_rev();
>  
> -	printf("CPU:   Freescale i.MX31 rev %d.%d%s at %d MHz.",
> +	printf("CPU:   Freescale i.MX31 rev %d.%d%s at %d MHz.\n",
>  			(srev & 0xF0) >> 4, (srev & 0x0F),
>  			((srev & 0x8000) ? " unknown" : ""),
>  			mx31_get_mcu_main_clk() / 1000000);

Applied to u-boot-imx, next branch, 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:[~2011-09-19  9:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-16 14:01 [U-Boot] [PATCH] MX31: Improve readability for reset cause Fabio Estevam
2011-09-19  9:22 ` Stefano Babic [this message]

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=4E7709D0.1070200@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.