diff options
Diffstat (limited to 'arch/arm/mach-realview')
-rw-r--r-- | arch/arm/mach-realview/localtimer.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-realview/platsmp.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-realview/realview_eb.c | 1 |
3 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/mach-realview/localtimer.c b/arch/arm/mach-realview/localtimer.c index 4f87b4d09c7d..60500f0b878d 100644 --- a/arch/arm/mach-realview/localtimer.c +++ b/arch/arm/mach-realview/localtimer.c | |||
@@ -24,8 +24,8 @@ | |||
24 | #include <asm/io.h> | 24 | #include <asm/io.h> |
25 | #include <asm/irq.h> | 25 | #include <asm/irq.h> |
26 | 26 | ||
27 | #define TWD_BASE(cpu) (__io_address(REALVIEW_TWD_BASE) + \ | 27 | #define TWD_BASE(cpu) (__io_address(REALVIEW_EB11MP_TWD_BASE) + \ |
28 | ((cpu) * REALVIEW_TWD_SIZE)) | 28 | ((cpu) * REALVIEW_EB11MP_TWD_SIZE)) |
29 | 29 | ||
30 | static DEFINE_PER_CPU(struct clock_event_device, local_clockevent); | 30 | static DEFINE_PER_CPU(struct clock_event_device, local_clockevent); |
31 | 31 | ||
diff --git a/arch/arm/mach-realview/platsmp.c b/arch/arm/mach-realview/platsmp.c index bb5eaa48520d..0186c80c9040 100644 --- a/arch/arm/mach-realview/platsmp.c +++ b/arch/arm/mach-realview/platsmp.c | |||
@@ -31,7 +31,7 @@ static unsigned int __init get_core_count(void) | |||
31 | { | 31 | { |
32 | unsigned int ncores; | 32 | unsigned int ncores; |
33 | 33 | ||
34 | ncores = __raw_readl(__io_address(REALVIEW_MPCORE_SCU_BASE) + SCU_CONFIG); | 34 | ncores = __raw_readl(__io_address(REALVIEW_EB11MP_SCU_BASE) + SCU_CONFIG); |
35 | 35 | ||
36 | return (ncores & 0x03) + 1; | 36 | return (ncores & 0x03) + 1; |
37 | } | 37 | } |
@@ -52,7 +52,7 @@ void __cpuinit platform_secondary_init(unsigned int cpu) | |||
52 | * core (e.g. timer irq), then they will not have been enabled | 52 | * core (e.g. timer irq), then they will not have been enabled |
53 | * for us: do so | 53 | * for us: do so |
54 | */ | 54 | */ |
55 | gic_cpu_init(0, __io_address(REALVIEW_GIC_CPU_BASE)); | 55 | gic_cpu_init(0, __io_address(REALVIEW_EB11MP_GIC_CPU_BASE)); |
56 | 56 | ||
57 | /* | 57 | /* |
58 | * let the primary processor know we're out of the | 58 | * let the primary processor know we're out of the |
diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c index ecec2f85c4cd..9c992568ee40 100644 --- a/arch/arm/mach-realview/realview_eb.c +++ b/arch/arm/mach-realview/realview_eb.c | |||
@@ -37,6 +37,7 @@ | |||
37 | #include <asm/mach/map.h> | 37 | #include <asm/mach/map.h> |
38 | #include <asm/mach/mmc.h> | 38 | #include <asm/mach/mmc.h> |
39 | 39 | ||
40 | #include <asm/arch/board-eb.h> | ||
40 | #include <asm/arch/irqs.h> | 41 | #include <asm/arch/irqs.h> |
41 | 42 | ||
42 | #include "core.h" | 43 | #include "core.h" |