]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/mach-at91/at91sam9g45.c
ARM: at91/at91sam9g45: remove useless header file
[karo-tx-linux.git] / arch / arm / mach-at91 / at91sam9g45.c
1 /*
2  *  Chip-specific setup code for the AT91SAM9G45 family
3  *
4  *  Copyright (C) 2009 Atmel Corporation.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  */
12
13 #include <asm/system_misc.h>
14 #include <mach/hardware.h>
15
16 #include "soc.h"
17 #include "generic.h"
18
19 /* --------------------------------------------------------------------
20  *  AT91SAM9G45 processor initialization
21  * -------------------------------------------------------------------- */
22
23 static void __init at91sam9g45_map_io(void)
24 {
25         at91_init_sram(0, AT91SAM9G45_SRAM_BASE, AT91SAM9G45_SRAM_SIZE);
26 }
27
28 static void __init at91sam9g45_initialize(void)
29 {
30         arm_pm_idle = at91sam9_idle;
31
32         at91_sysirq_mask_rtc(AT91SAM9G45_BASE_RTC);
33         at91_sysirq_mask_rtt(AT91SAM9G45_BASE_RTT);
34 }
35
36 AT91_SOC_START(at91sam9g45)
37         .map_io = at91sam9g45_map_io,
38         .init = at91sam9g45_initialize,
39 AT91_SOC_END