[U-Boot] [PATCH] MX25 print arm clock instead of mpllclk on boot

Stefano Babic sbabic at denx.de
Thu Apr 8 18:02:55 CEST 2010


John Rigby wrote:
> Replace call to imx_get_mpllclk with imx_get_armclk
> to show frequency of ARM core instead of mpll internal
> bus in print_cpuinfo.
> 
> Signed-off-by: John Rigby <jcrigby at gmail.com>
> CC: Stefano Babic <sbabic at denx.de>
> ---
>  cpu/arm926ejs/mx25/generic.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/cpu/arm926ejs/mx25/generic.c b/cpu/arm926ejs/mx25/generic.c
> index 694841d..b80a389 100644
> --- a/cpu/arm926ejs/mx25/generic.c
> +++ b/cpu/arm926ejs/mx25/generic.c
> @@ -111,7 +111,7 @@ int print_cpuinfo (void)
>  	char buf[32];
>  
>  	printf ("CPU:   Freescale i.MX25 at %s MHz\n\n",
> -		strmhz (buf, imx_get_mpllclk ()));
> +		strmhz (buf, imx_get_armclk ()));
>  	return 0;
>  }
>  #endif

Acked-by: Stefano Babic <sbabic at denx.de>

Regards,
Stefano

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