public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] MX25 print arm clock instead of mpllclk on boot
@ 2010-04-08  5:30 John Rigby
  2010-04-08 16:02 ` Stefano Babic
  0 siblings, 1 reply; 2+ messages in thread
From: John Rigby @ 2010-04-08  5:30 UTC (permalink / raw)
  To: u-boot

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@gmail.com>
CC: Stefano Babic <sbabic@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
-- 
1.6.4.2.236.gf324c

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] MX25 print arm clock instead of mpllclk on boot
  2010-04-08  5:30 [U-Boot] [PATCH] MX25 print arm clock instead of mpllclk on boot John Rigby
@ 2010-04-08 16:02 ` Stefano Babic
  0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2010-04-08 16:02 UTC (permalink / raw)
  To: u-boot

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@gmail.com>
> CC: Stefano Babic <sbabic@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@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
=====================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-08 16:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-08  5:30 [U-Boot] [PATCH] MX25 print arm clock instead of mpllclk on boot John Rigby
2010-04-08 16:02 ` Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox