blob: a9705cfed3b134fed38a35aedc255b3a01590c45 [file] [log] [blame]
Jean-Christophe PLAGNIOL-VILLARDdc39ae92009-04-16 21:30:44 +02001#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
7int 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}