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] MX51: Fix MX51 CPU detect message
Date: Sat, 24 Apr 2010 09:20:33 +0200	[thread overview]
Message-ID: <4BD29BC1.9080009@denx.de> (raw)
In-Reply-To: <644642.10891.qm@web51003.mail.re2.yahoo.com>

Fabio Estevam wrote:
> Fix MX51 CPU detect message.
> 
> Original string was: 
> CPU:   Freescale i.MX51 family 3.0V at 800 MHz
> 
> which can be misinterpreted as  3.0 Volts instead of the silicon revision.
> 
> ,change it to:
> CPU:   Freescale i.MX51 family rev3.0 at 800 MHz
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> 
> ---
>  arch/arm/cpu/arm_cortexa8/mx51/soc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/cpu/arm_cortexa8/mx51/soc.c b/arch/arm/cpu/arm_cortexa8/mx51/soc.c
> index 2a139b2..f22ebe9 100644
> --- a/arch/arm/cpu/arm_cortexa8/mx51/soc.c
> +++ b/arch/arm/cpu/arm_cortexa8/mx51/soc.c
> @@ -67,7 +67,7 @@ int print_cpuinfo(void)
>  	u32 cpurev;
>  
>  	cpurev = get_cpu_rev();
> -	printf("CPU:   Freescale i.MX51 family %d.%dV at %d MHz\n",
> +	printf("CPU:   Freescale i.MX51 family rev%d.%d at %d MHz\n",
>  		(cpurev & 0xF0) >> 4,
>  		(cpurev & 0x0F) >> 4,
>  		mxc_get_clock(MXC_ARM_CLK) / 1000000);

Applied to u-boot-imx, thanks.

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:[~2010-04-24  7:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-23 13:32 [U-Boot] [PATCH] MX51: Fix MX51 CPU detect message Fabio Estevam
2010-04-24  7:20 ` 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=4BD29BC1.9080009@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