projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b125e7b
)
mx28: Show CPU frequency
author
Fabio Estevam
<festevam@gmail.com>
Sun, 22 Jan 2012 16:38:08 +0000
(16:38 +0000)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Sun, 12 Feb 2012 09:11:26 +0000
(10:11 +0100)
Showing CPU frequency during boot is useful information.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Acked-by: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/arm926ejs/mx28/mx28.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/arm926ejs/mx28/mx28.c
b/arch/arm/cpu/arm926ejs/mx28/mx28.c
index
da90360
..
683777f
100644
(file)
--- a/
arch/arm/cpu/arm926ejs/mx28/mx28.c
+++ b/
arch/arm/cpu/arm926ejs/mx28/mx28.c
@@
-169,7
+169,8
@@
int arch_cpu_init(void)
#if defined(CONFIG_DISPLAY_CPUINFO)
int print_cpuinfo(void)
{
- printf("Freescale i.MX28 family\n");
+ printf("Freescale i.MX28 family at %d MHz\n",
+ mxc_get_clock(MXC_ARM_CLK) / 1000000);
return 0;
}
#endif