Jean-Christophe PLAGNIOL-VILLARD | dc39ae9 | 2009-04-16 21:30:44 +0200 | [diff] [blame^] | 1 | #include <config.h> |
2 | #include <asm/arch/hardware.h> | ||||
3 | #include <asm/arch/at91_pmc.h> | ||||
4 | #include <asm/arch/clk.h> | ||||
5 | #include <asm/arch/io.h> | ||||
6 | |||||
7 | int arch_cpu_init(void) | ||||
8 | { | ||||
9 | #ifdef AT91_MAIN_CLOCK | ||||
10 | return at91_clock_init(AT91_MAIN_CLOCK); | ||||
11 | #else | ||||
12 | return at91_clock_init(0); | ||||
13 | #endif | ||||
14 | } |