aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/cpu-u8500.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-ux500/cpu-u8500.c')
-rw-r--r--arch/arm/mach-ux500/cpu-u8500.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/arm/mach-ux500/cpu-u8500.c b/arch/arm/mach-ux500/cpu-u8500.c
index 51e9bf2d71e..d04299f3b6b 100644
--- a/arch/arm/mach-ux500/cpu-u8500.c
+++ b/arch/arm/mach-ux500/cpu-u8500.c
@@ -17,9 +17,7 @@
17#include <linux/platform_device.h> 17#include <linux/platform_device.h>
18#include <linux/io.h> 18#include <linux/io.h>
19 19
20#include <asm/localtimer.h>
21#include <asm/mach/map.h> 20#include <asm/mach/map.h>
22#include <plat/mtu.h>
23#include <mach/hardware.h> 21#include <mach/hardware.h>
24#include <mach/setup.h> 22#include <mach/setup.h>
25#include <mach/devices.h> 23#include <mach/devices.h>
@@ -78,22 +76,3 @@ void __init u8500_init_devices(void)
78 76
79 return ; 77 return ;
80} 78}
81
82static void __init u8500_timer_init(void)
83{
84#ifdef CONFIG_LOCAL_TIMERS
85 /* Setup the local timer base */
86 twd_base = __io_address(U8500_TWD_BASE);
87#endif
88 /* Setup the MTU base */
89 if (cpu_is_u8500ed())
90 mtu_base = __io_address(U8500_MTU0_BASE_ED);
91 else
92 mtu_base = __io_address(U8500_MTU0_BASE);
93
94 nmdk_timer_init();
95}
96
97struct sys_timer u8500_timer = {
98 .init = u8500_timer_init,
99};