[U-Boot] [PATCH] mx28: Show CPU frequency

Fabio Estevam festevam at gmail.com
Mon Jan 23 16:52:59 CET 2012


On 1/23/12, Marek Vasut <marek.vasut at gmail.com> wrote:

> Just put it amongst the other frequencies displayed by the clock command.

What about this?

--- a/arch/arm/cpu/arm926ejs/mx28/mx28.c
+++ b/arch/arm/cpu/arm926ejs/mx28/mx28.c
@@ -170,6 +170,7 @@ int arch_cpu_init(void)
 int print_cpuinfo(void)
 {
        printf("Freescale i.MX28 family\n");
+       do_mx28_showclocks();
        return 0;
 }
 #endif

It will print a lot more info though.

Regards,

Fabio Estevam


More information about the U-Boot mailing list