diff options
author | Fabio Estevam <festevam@gmail.com> | 2012-01-22 16:38:08 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-02-12 10:11:26 +0100 |
commit | 82182720e799389aa86ae3dcc085f47f7b9dc161 (patch) | |
tree | 2ada689db3d691eede6eff9820abd20c36405263 | |
parent | b125e7bdd819024d1fb59b54349202190fcadd37 (diff) | |
download | u-boot-imx-82182720e799389aa86ae3dcc085f47f7b9dc161.zip u-boot-imx-82182720e799389aa86ae3dcc085f47f7b9dc161.tar.gz u-boot-imx-82182720e799389aa86ae3dcc085f47f7b9dc161.tar.bz2 |
mx28: Show CPU frequency
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>
-rw-r--r-- | arch/arm/cpu/arm926ejs/mx28/mx28.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm926ejs/mx28/mx28.c b/arch/arm/cpu/arm926ejs/mx28/mx28.c index da90360..683777f 100644 --- 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 |