summaryrefslogtreecommitdiff
path: root/board/atmel/at91sam9rlek/at91sam9rlek.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-04-24 13:31:02 +0200
committerWolfgang Denk <wd@denx.de>2009-04-24 13:31:02 +0200
commitfaa5a0c6fc5609acb4037a5eae79f7a47de4c6ee (patch)
tree408edf924d2bb05c4a5638a7a26066d77ac8b1c7 /board/atmel/at91sam9rlek/at91sam9rlek.c
parent7ee38c044ca5041d3378d6507580ea4ec344af96 (diff)
parent6ebff365eb63093ca35b687316002535c6a18820 (diff)
downloadu-boot-imx-faa5a0c6fc5609acb4037a5eae79f7a47de4c6ee.zip
u-boot-imx-faa5a0c6fc5609acb4037a5eae79f7a47de4c6ee.tar.gz
u-boot-imx-faa5a0c6fc5609acb4037a5eae79f7a47de4c6ee.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-at91
Diffstat (limited to 'board/atmel/at91sam9rlek/at91sam9rlek.c')
-rw-r--r--board/atmel/at91sam9rlek/at91sam9rlek.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/atmel/at91sam9rlek/at91sam9rlek.c b/board/atmel/at91sam9rlek/at91sam9rlek.c
index 908b9c8..7013ba2 100644
--- a/board/atmel/at91sam9rlek/at91sam9rlek.c
+++ b/board/atmel/at91sam9rlek/at91sam9rlek.c
@@ -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>
@@ -157,7 +158,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++)