x86/xen: resume timer irqs early
[linux/fpc-iii.git] / arch / arm / mach-at91 / include / mach / at91_ramc.h
blobd8aeb278614ebba4d51cebea15db71b2f3187cb2
1 /*
2 * Header file for the Atmel RAM Controller
4 * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
6 * Under GPLv2 only
7 */
9 #ifndef __AT91_RAMC_H__
10 #define __AT91_RAMC_H__
12 #ifndef __ASSEMBLY__
13 extern void __iomem *at91_ramc_base[];
15 #define at91_ramc_read(id, field) \
16 __raw_readl(at91_ramc_base[id] + field)
18 #define at91_ramc_write(id, field, value) \
19 __raw_writel(value, at91_ramc_base[id] + field)
20 #else
21 .extern at91_ramc_base
22 #endif
24 #define AT91_MEMCTRL_MC 0
25 #define AT91_MEMCTRL_SDRAMC 1
26 #define AT91_MEMCTRL_DDRSDR 2
28 #include <mach/at91rm9200_sdramc.h>
29 #include <mach/at91sam9_ddrsdr.h>
30 #include <mach/at91sam9_sdramc.h>
32 #endif /* __AT91_RAMC_H__ */