diff options
Diffstat (limited to 'arch/arm/mach-ux500/cpu.c')
-rw-r--r-- | arch/arm/mach-ux500/cpu.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux500/cpu.c index c0e4593f7719..797f3642fc30 100644 --- a/arch/arm/mach-ux500/cpu.c +++ b/arch/arm/mach-ux500/cpu.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <asm/mach/map.h> | 18 | #include <asm/mach/map.h> |
19 | #include <asm/localtimer.h> | 19 | #include <asm/localtimer.h> |
20 | 20 | ||
21 | #include <plat/mtu.h> | ||
22 | #include <mach/hardware.h> | 21 | #include <mach/hardware.h> |
23 | #include <mach/setup.h> | 22 | #include <mach/setup.h> |
24 | #include <mach/devices.h> | 23 | #include <mach/devices.h> |
@@ -120,38 +119,3 @@ static int ux500_l2x0_init(void) | |||
120 | } | 119 | } |
121 | early_initcall(ux500_l2x0_init); | 120 | early_initcall(ux500_l2x0_init); |
122 | #endif | 121 | #endif |
123 | |||
124 | static void __init ux500_timer_init(void) | ||
125 | { | ||
126 | #ifdef CONFIG_LOCAL_TIMERS | ||
127 | /* Setup the local timer base */ | ||
128 | if (cpu_is_u5500()) | ||
129 | twd_base = __io_address(U5500_TWD_BASE); | ||
130 | else if (cpu_is_u8500()) | ||
131 | twd_base = __io_address(U8500_TWD_BASE); | ||
132 | else | ||
133 | ux500_unknown_soc(); | ||
134 | #endif | ||
135 | if (cpu_is_u5500()) | ||
136 | mtu_base = __io_address(U5500_MTU0_BASE); | ||
137 | else if (cpu_is_u8500ed()) | ||
138 | mtu_base = __io_address(U8500_MTU0_BASE_ED); | ||
139 | else if (cpu_is_u8500()) | ||
140 | mtu_base = __io_address(U8500_MTU0_BASE); | ||
141 | else | ||
142 | ux500_unknown_soc(); | ||
143 | |||
144 | if (cpu_is_u8500()) | ||
145 | clksrc_dbx500_timer_base = __io_address(U8500_PRCMU_TIMER_4_BASE); | ||
146 | else if (cpu_is_u5500()) | ||
147 | clksrc_dbx500_timer_base = __io_address(U5500_PRCMU_TIMER_3_BASE); | ||
148 | else | ||
149 | ux500_unknown_soc(); | ||
150 | |||
151 | nmdk_timer_init(); | ||
152 | clksrc_dbx500_prcmu_init(); | ||
153 | } | ||
154 | |||
155 | struct sys_timer ux500_timer = { | ||
156 | .init = ux500_timer_init, | ||
157 | }; | ||