diff options
Diffstat (limited to 'arch/arm/mach-iop33x/setup.c')
-rw-r--r-- | arch/arm/mach-iop33x/setup.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/mach-iop33x/setup.c b/arch/arm/mach-iop33x/setup.c index ad737d6582b5..7cf5015436f3 100644 --- a/arch/arm/mach-iop33x/setup.c +++ b/arch/arm/mach-iop33x/setup.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <asm/hardware.h> | 28 | #include <asm/hardware.h> |
29 | #include <asm/mach-types.h> | 29 | #include <asm/mach-types.h> |
30 | #include <asm/mach/arch.h> | 30 | #include <asm/mach/arch.h> |
31 | #include <asm/mach/time.h> | ||
31 | #include <asm/hardware/iop3xx.h> | 32 | #include <asm/hardware/iop3xx.h> |
32 | 33 | ||
33 | #define IOP331_UART_XTAL 33334000 | 34 | #define IOP331_UART_XTAL 33334000 |
@@ -118,9 +119,18 @@ void __init iop33x_init(void) | |||
118 | 119 | ||
119 | #ifdef CONFIG_ARCH_IOP33X | 120 | #ifdef CONFIG_ARCH_IOP33X |
120 | extern void iop331_init_irq(void); | 121 | extern void iop331_init_irq(void); |
121 | extern struct sys_timer iop331_timer; | ||
122 | #endif | 122 | #endif |
123 | 123 | ||
124 | static void __init iop3xx_timer_init(void) | ||
125 | { | ||
126 | iop3xx_init_time(IOP331_TICK_RATE); | ||
127 | } | ||
128 | |||
129 | struct sys_timer iop331_timer = { | ||
130 | .init = iop3xx_timer_init, | ||
131 | .offset = iop3xx_gettimeoffset, | ||
132 | }; | ||
133 | |||
124 | #if defined(CONFIG_ARCH_IQ80331) | 134 | #if defined(CONFIG_ARCH_IQ80331) |
125 | MACHINE_START(IQ80331, "Intel IQ80331") | 135 | MACHINE_START(IQ80331, "Intel IQ80331") |
126 | /* Maintainer: Intel Corp. */ | 136 | /* Maintainer: Intel Corp. */ |