diff options
author | Jon Callan <Jon.Callan@arm.com> | 2008-12-01 09:54:56 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2008-12-01 09:54:56 -0500 |
commit | 4c3ea3717103ffcccfaebedb98c2dadfb54e0482 (patch) | |
tree | aeef9b14e999051c9b1e3cb01c0dae48428f16d8 /arch/arm/mach-realview/include | |
parent | 8aa2da872a492a2196397603ed756a4c48677122 (diff) |
RealView: Add Cortex-A9 support to the EB board
This patch adds the necessary definitions and Kconfig entries to enable
Cortex-A9 (ARMv7 SMP) tiles on the RealView/EB board.
Signed-off-by: Jon Callan <Jon.Callan@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm/mach-realview/include')
-rw-r--r-- | arch/arm/mach-realview/include/mach/board-eb.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-realview/include/mach/board-eb.h b/arch/arm/mach-realview/include/mach/board-eb.h index 8d699fd324d0..e1a6df29eaf6 100644 --- a/arch/arm/mach-realview/include/mach/board-eb.h +++ b/arch/arm/mach-realview/include/mach/board-eb.h | |||
@@ -163,7 +163,7 @@ | |||
163 | #define NR_IRQS NR_IRQS_EB | 163 | #define NR_IRQS NR_IRQS_EB |
164 | #endif | 164 | #endif |
165 | 165 | ||
166 | #if defined(CONFIG_REALVIEW_EB_ARM11MP) \ | 166 | #if defined(CONFIG_REALVIEW_EB_ARM11MP) || defined(CONFIG_REALVIEW_EB_A9MP) \ |
167 | && (!defined(MAX_GIC_NR) || (MAX_GIC_NR < NR_GIC_EB11MP)) | 167 | && (!defined(MAX_GIC_NR) || (MAX_GIC_NR < NR_GIC_EB11MP)) |
168 | #undef MAX_GIC_NR | 168 | #undef MAX_GIC_NR |
169 | #define MAX_GIC_NR NR_GIC_EB11MP | 169 | #define MAX_GIC_NR NR_GIC_EB11MP |
@@ -177,6 +177,7 @@ | |||
177 | #define REALVIEW_EB_PROC_ARM9 0x02000000 | 177 | #define REALVIEW_EB_PROC_ARM9 0x02000000 |
178 | #define REALVIEW_EB_PROC_ARM11 0x04000000 | 178 | #define REALVIEW_EB_PROC_ARM11 0x04000000 |
179 | #define REALVIEW_EB_PROC_ARM11MP 0x06000000 | 179 | #define REALVIEW_EB_PROC_ARM11MP 0x06000000 |
180 | #define REALVIEW_EB_PROC_A9MP 0x0C000000 | ||
180 | 181 | ||
181 | #define check_eb_proc(proc_type) \ | 182 | #define check_eb_proc(proc_type) \ |
182 | ((readl(__io_address(REALVIEW_SYS_PROCID)) & REALVIEW_EB_PROC_MASK) \ | 183 | ((readl(__io_address(REALVIEW_SYS_PROCID)) & REALVIEW_EB_PROC_MASK) \ |
@@ -188,4 +189,10 @@ | |||
188 | #define core_tile_eb11mp() 0 | 189 | #define core_tile_eb11mp() 0 |
189 | #endif | 190 | #endif |
190 | 191 | ||
192 | #ifdef CONFIG_REALVIEW_EB_A9MP | ||
193 | #define core_tile_a9mp() check_eb_proc(REALVIEW_EB_PROC_A9MP) | ||
194 | #else | ||
195 | #define core_tile_a9mp() 0 | ||
196 | #endif | ||
197 | |||
191 | #endif /* __ASM_ARCH_BOARD_EB_H */ | 198 | #endif /* __ASM_ARCH_BOARD_EB_H */ |