Skip to contentSkip to conversation

MX25 print arm clock instead of mpllclk on boot

PATCH New John Rigby 2 participants 2 messages Apr 8, 2010

lore
Share & tools
lore

John Rigby

author
#0 lore raw

PATCH 1/1 MX25 print arm clock instead of mpllclk on 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.

CC Stefano Babic <[email protected]>
---
 cpu/arm926ejs/mx25/generic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
cpu/arm926ejs/mx25/generic.c +1 -1
index 694841d..b80a389 100644
@@ -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
Signature · 1 line
1.6.4.2.236.gf324c
#1 lore raw

PATCH 1/1 MX25 print arm clock instead of mpllclk on boot

Quoted 15 lines · John Rigby

Replace call to imx_get_mpllclk with imx_get_armclk to show frequency of ARM core instead of mpll internal bus in print_cpuinfo.

CC Stefano Babic <[email protected]>
---
 cpu/arm926ejs/mx25/generic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
cpu/arm926ejs/mx25/generic.c +0 -0
index 694841d..b80a389 100644

cpu/arm926ejs/mx25/generic.c int print_cpuinfo (void) · line 117

Quoted 8 lines
cpu/arm926ejs/mx25/generic.c +1 -1
@@ -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

Regards,
Stefano

Signature · 5 lines
=====================================================================
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
=====================================================================