diff options
author | Wolfgang Denk <wd@denx.de> | 2009-04-24 13:31:02 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-04-24 13:31:02 +0200 |
commit | faa5a0c6fc5609acb4037a5eae79f7a47de4c6ee (patch) | |
tree | 408edf924d2bb05c4a5638a7a26066d77ac8b1c7 /cpu/arm926ejs/at91/cpu.c | |
parent | 7ee38c044ca5041d3378d6507580ea4ec344af96 (diff) | |
parent | 6ebff365eb63093ca35b687316002535c6a18820 (diff) | |
download | u-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 'cpu/arm926ejs/at91/cpu.c')
-rw-r--r-- | cpu/arm926ejs/at91/cpu.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cpu/arm926ejs/at91/cpu.c b/cpu/arm926ejs/at91/cpu.c new file mode 100644 index 0000000..a9705cf --- /dev/null +++ b/cpu/arm926ejs/at91/cpu.c @@ -0,0 +1,14 @@ +#include <config.h> +#include <asm/arch/hardware.h> +#include <asm/arch/at91_pmc.h> +#include <asm/arch/clk.h> +#include <asm/arch/io.h> + +int arch_cpu_init(void) +{ +#ifdef AT91_MAIN_CLOCK + return at91_clock_init(AT91_MAIN_CLOCK); +#else + return at91_clock_init(0); +#endif +} |