summaryrefslogtreecommitdiff
path: root/cpu/arm926ejs/at91/cpu.c
blob: a9705cfed3b134fed38a35aedc255b3a01590c45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}