From: Fabio Estevam Date: Sun, 22 Jan 2012 16:38:08 +0000 (+0000) Subject: mx28: Show CPU frequency X-Git-Tag: v2012.04-rc1~217 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=82182720e799389aa86ae3dcc085f47f7b9dc161;p=u-boot mx28: Show CPU frequency Showing CPU frequency during boot is useful information. Signed-off-by: Fabio Estevam Acked-by: Marek Vasut Acked-by: Stefano Babic --- diff --git a/arch/arm/cpu/arm926ejs/mx28/mx28.c b/arch/arm/cpu/arm926ejs/mx28/mx28.c index da903605a2..683777f50c 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