]> git.sur5r.net Git - u-boot/blobdiff - board/atmel/at91sam9261ek/at91sam9261ek.c
at91sam9/at91cap: improve clock framework
[u-boot] / board / atmel / at91sam9261ek / at91sam9261ek.c
index bae4092bb6d332ca1afab913e5213fa3a819d2bd..a89cb8bf278a70b5d82f175e188d3fa6abb2f3be 100644 (file)
@@ -29,6 +29,7 @@
 #include <asm/arch/at91_common.h>
 #include <asm/arch/at91_pmc.h>
 #include <asm/arch/at91_rstc.h>
+#include <asm/arch/clk.h>
 #include <asm/arch/gpio.h>
 #include <asm/arch/io.h>
 #include <lcd.h>
@@ -185,7 +186,7 @@ void lcd_show_board_info(void)
        lcd_printf ("at91support@atmel.com\n");
        lcd_printf ("%s CPU at %s MHz\n",
                AT91_CPU_NAME,
-               strmhz(temp, AT91_CPU_CLOCK));
+               strmhz(temp, get_cpu_clk_rate()));
 
        dram_size = 0;
        for (i = 0; i < CONFIG_NR_DRAM_BANKS; i++)