diff options
Diffstat (limited to 'arch/arm/mach-at91/include/mach/hardware.h')
-rw-r--r-- | arch/arm/mach-at91/include/mach/hardware.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/arch/arm/mach-at91/include/mach/hardware.h b/arch/arm/mach-at91/include/mach/hardware.h index 3d64a75e3ed5..1008b9fb5074 100644 --- a/arch/arm/mach-at91/include/mach/hardware.h +++ b/arch/arm/mach-at91/include/mach/hardware.h | |||
@@ -32,13 +32,17 @@ | |||
32 | #include <mach/at91cap9.h> | 32 | #include <mach/at91cap9.h> |
33 | #elif defined(CONFIG_ARCH_AT91X40) | 33 | #elif defined(CONFIG_ARCH_AT91X40) |
34 | #include <mach/at91x40.h> | 34 | #include <mach/at91x40.h> |
35 | #elif defined(CONFIG_ARCH_AT572D940HF) | ||
36 | #include <mach/at572d940hf.h> | ||
37 | #else | 35 | #else |
38 | #error "Unsupported AT91 processor" | 36 | #error "Unsupported AT91 processor" |
39 | #endif | 37 | #endif |
40 | 38 | ||
41 | 39 | ||
40 | /* | ||
41 | * Peripheral identifiers/interrupts. | ||
42 | */ | ||
43 | #define AT91_ID_FIQ 0 /* Advanced Interrupt Controller (FIQ) */ | ||
44 | #define AT91_ID_SYS 1 /* System Peripherals */ | ||
45 | |||
42 | #ifdef CONFIG_MMU | 46 | #ifdef CONFIG_MMU |
43 | /* | 47 | /* |
44 | * Remap the peripherals from address 0xFFF78000 .. 0xFFFFFFFF | 48 | * Remap the peripherals from address 0xFFF78000 .. 0xFFFFFFFF |
@@ -82,13 +86,6 @@ | |||
82 | #define AT91_CHIPSELECT_6 0x70000000 | 86 | #define AT91_CHIPSELECT_6 0x70000000 |
83 | #define AT91_CHIPSELECT_7 0x80000000 | 87 | #define AT91_CHIPSELECT_7 0x80000000 |
84 | 88 | ||
85 | /* SDRAM */ | ||
86 | #ifdef CONFIG_DRAM_BASE | ||
87 | #define AT91_SDRAM_BASE CONFIG_DRAM_BASE | ||
88 | #else | ||
89 | #define AT91_SDRAM_BASE AT91_CHIPSELECT_1 | ||
90 | #endif | ||
91 | |||
92 | /* Clocks */ | 89 | /* Clocks */ |
93 | #define AT91_SLOW_CLOCK 32768 /* slow clock */ | 90 | #define AT91_SLOW_CLOCK 32768 /* slow clock */ |
94 | 91 | ||