[U-Boot] [PATCH] MX51: Fix MX51 CPU detect message

Stefano Babic sbabic at denx.de
Sat Apr 24 09:20:33 CEST 2010


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 at 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
=====================================================================


More information about the U-Boot mailing list