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/realview_eb.c | |
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/realview_eb.c')
-rw-r--r-- | arch/arm/mach-realview/realview_eb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c index f6e04edf922d..3adb53562985 100644 --- a/arch/arm/mach-realview/realview_eb.c +++ b/arch/arm/mach-realview/realview_eb.c | |||
@@ -108,7 +108,7 @@ static struct map_desc realview_eb11mp_io_desc[] __initdata = { | |||
108 | static void __init realview_eb_map_io(void) | 108 | static void __init realview_eb_map_io(void) |
109 | { | 109 | { |
110 | iotable_init(realview_eb_io_desc, ARRAY_SIZE(realview_eb_io_desc)); | 110 | iotable_init(realview_eb_io_desc, ARRAY_SIZE(realview_eb_io_desc)); |
111 | if (core_tile_eb11mp()) | 111 | if (core_tile_eb11mp() || core_tile_a9mp()) |
112 | iotable_init(realview_eb11mp_io_desc, ARRAY_SIZE(realview_eb11mp_io_desc)); | 112 | iotable_init(realview_eb11mp_io_desc, ARRAY_SIZE(realview_eb11mp_io_desc)); |
113 | } | 113 | } |
114 | 114 | ||
@@ -274,7 +274,7 @@ static int eth_device_register(void) | |||
274 | 274 | ||
275 | static void __init gic_init_irq(void) | 275 | static void __init gic_init_irq(void) |
276 | { | 276 | { |
277 | if (core_tile_eb11mp()) { | 277 | if (core_tile_eb11mp() || core_tile_a9mp()) { |
278 | unsigned int pldctrl; | 278 | unsigned int pldctrl; |
279 | 279 | ||
280 | /* new irq mode */ | 280 | /* new irq mode */ |
@@ -342,7 +342,7 @@ static void __init realview_eb_timer_init(void) | |||
342 | timer2_va_base = __io_address(REALVIEW_EB_TIMER2_3_BASE); | 342 | timer2_va_base = __io_address(REALVIEW_EB_TIMER2_3_BASE); |
343 | timer3_va_base = __io_address(REALVIEW_EB_TIMER2_3_BASE) + 0x20; | 343 | timer3_va_base = __io_address(REALVIEW_EB_TIMER2_3_BASE) + 0x20; |
344 | 344 | ||
345 | if (core_tile_eb11mp()) { | 345 | if (core_tile_eb11mp() || core_tile_a9mp()) { |
346 | #ifdef CONFIG_LOCAL_TIMERS | 346 | #ifdef CONFIG_LOCAL_TIMERS |
347 | twd_base_addr = __io_address(REALVIEW_EB11MP_TWD_BASE); | 347 | twd_base_addr = __io_address(REALVIEW_EB11MP_TWD_BASE); |
348 | twd_size = REALVIEW_EB11MP_TWD_SIZE; | 348 | twd_size = REALVIEW_EB11MP_TWD_SIZE; |
@@ -362,7 +362,7 @@ static void __init realview_eb_init(void) | |||
362 | { | 362 | { |
363 | int i; | 363 | int i; |
364 | 364 | ||
365 | if (core_tile_eb11mp()) { | 365 | if (core_tile_eb11mp() || core_tile_a9mp()) { |
366 | realview_eb11mp_fixup(); | 366 | realview_eb11mp_fixup(); |
367 | 367 | ||
368 | #ifdef CONFIG_CACHE_L2X0 | 368 | #ifdef CONFIG_CACHE_L2X0 |