diff options
Diffstat (limited to 'arch/arm/mach-clps711x')
-rw-r--r-- | arch/arm/mach-clps711x/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/autcpu12.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/cdb89712.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/ceiva.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/clep7312.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/common.c (renamed from arch/arm/mach-clps711x/irq.c) | 100 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/common.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/edb7211-arch.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/fortunet.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/include/mach/system.h | 5 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/include/mach/vmalloc.h | 20 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/mm.c | 48 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/p720t.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/time.c | 84 |
14 files changed, 101 insertions, 166 deletions
diff --git a/arch/arm/mach-clps711x/Makefile b/arch/arm/mach-clps711x/Makefile index 4a197315f0c..f2f0256232e 100644 --- a/arch/arm/mach-clps711x/Makefile +++ b/arch/arm/mach-clps711x/Makefile | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | # Object file lists. | 5 | # Object file lists. |
6 | 6 | ||
7 | obj-y := irq.o mm.o time.o | 7 | obj-y := common.o |
8 | obj-m := | 8 | obj-m := |
9 | obj-n := | 9 | obj-n := |
10 | obj- := | 10 | obj- := |
diff --git a/arch/arm/mach-clps711x/autcpu12.c b/arch/arm/mach-clps711x/autcpu12.c index 0276091b7f8..3fb79a1d0bd 100644 --- a/arch/arm/mach-clps711x/autcpu12.c +++ b/arch/arm/mach-clps711x/autcpu12.c | |||
@@ -68,5 +68,6 @@ MACHINE_START(AUTCPU12, "autronix autcpu12") | |||
68 | .map_io = autcpu12_map_io, | 68 | .map_io = autcpu12_map_io, |
69 | .init_irq = clps711x_init_irq, | 69 | .init_irq = clps711x_init_irq, |
70 | .timer = &clps711x_timer, | 70 | .timer = &clps711x_timer, |
71 | .restart = clps711x_restart, | ||
71 | MACHINE_END | 72 | MACHINE_END |
72 | 73 | ||
diff --git a/arch/arm/mach-clps711x/cdb89712.c b/arch/arm/mach-clps711x/cdb89712.c index 25b3bfd0e85..c314f49d6ef 100644 --- a/arch/arm/mach-clps711x/cdb89712.c +++ b/arch/arm/mach-clps711x/cdb89712.c | |||
@@ -59,4 +59,5 @@ MACHINE_START(CDB89712, "Cirrus-CDB89712") | |||
59 | .map_io = cdb89712_map_io, | 59 | .map_io = cdb89712_map_io, |
60 | .init_irq = clps711x_init_irq, | 60 | .init_irq = clps711x_init_irq, |
61 | .timer = &clps711x_timer, | 61 | .timer = &clps711x_timer, |
62 | .restart = clps711x_restart, | ||
62 | MACHINE_END | 63 | MACHINE_END |
diff --git a/arch/arm/mach-clps711x/ceiva.c b/arch/arm/mach-clps711x/ceiva.c index 1df9ec67aa9..a70147e347a 100644 --- a/arch/arm/mach-clps711x/ceiva.c +++ b/arch/arm/mach-clps711x/ceiva.c | |||
@@ -60,4 +60,5 @@ MACHINE_START(CEIVA, "CEIVA/Polaroid Photo MAX Digital Picture Frame") | |||
60 | .map_io = ceiva_map_io, | 60 | .map_io = ceiva_map_io, |
61 | .init_irq = clps711x_init_irq, | 61 | .init_irq = clps711x_init_irq, |
62 | .timer = &clps711x_timer, | 62 | .timer = &clps711x_timer, |
63 | .restart = clps711x_restart, | ||
63 | MACHINE_END | 64 | MACHINE_END |
diff --git a/arch/arm/mach-clps711x/clep7312.c b/arch/arm/mach-clps711x/clep7312.c index 80496c09ac5..dbc7842639d 100644 --- a/arch/arm/mach-clps711x/clep7312.c +++ b/arch/arm/mach-clps711x/clep7312.c | |||
@@ -41,5 +41,6 @@ MACHINE_START(CLEP7212, "Cirrus Logic 7212/7312") | |||
41 | .map_io = clps711x_map_io, | 41 | .map_io = clps711x_map_io, |
42 | .init_irq = clps711x_init_irq, | 42 | .init_irq = clps711x_init_irq, |
43 | .timer = &clps711x_timer, | 43 | .timer = &clps711x_timer, |
44 | .restart = clps711x_restart, | ||
44 | MACHINE_END | 45 | MACHINE_END |
45 | 46 | ||
diff --git a/arch/arm/mach-clps711x/irq.c b/arch/arm/mach-clps711x/common.c index c2eceee645e..ab1711b9b4d 100644 --- a/arch/arm/mach-clps711x/irq.c +++ b/arch/arm/mach-clps711x/common.c | |||
@@ -1,7 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * linux/arch/arm/mach-clps711x/irq.c | 2 | * linux/arch/arm/mach-clps711x/core.c |
3 | * | 3 | * |
4 | * Copyright (C) 2000 Deep Blue Solutions Ltd. | 4 | * Core support for the CLPS711x-based machines. |
5 | * | ||
6 | * Copyright (C) 2001,2011 Deep Blue Solutions Ltd | ||
5 | * | 7 | * |
6 | * This program is free software; you can redistribute it and/or modify | 8 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 9 | * it under the terms of the GNU General Public License as published by |
@@ -17,16 +19,42 @@ | |||
17 | * along with this program; if not, write to the Free Software | 19 | * along with this program; if not, write to the Free Software |
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 | */ | 21 | */ |
22 | #include <linux/kernel.h> | ||
23 | #include <linux/mm.h> | ||
20 | #include <linux/init.h> | 24 | #include <linux/init.h> |
21 | #include <linux/list.h> | 25 | #include <linux/interrupt.h> |
22 | #include <linux/io.h> | 26 | #include <linux/io.h> |
27 | #include <linux/irq.h> | ||
28 | #include <linux/sched.h> | ||
29 | #include <linux/timex.h> | ||
23 | 30 | ||
24 | #include <asm/mach/irq.h> | 31 | #include <asm/sizes.h> |
25 | #include <mach/hardware.h> | 32 | #include <mach/hardware.h> |
26 | #include <asm/irq.h> | 33 | #include <asm/irq.h> |
27 | 34 | #include <asm/leds.h> | |
35 | #include <asm/pgtable.h> | ||
36 | #include <asm/page.h> | ||
37 | #include <asm/mach/map.h> | ||
38 | #include <asm/mach/time.h> | ||
28 | #include <asm/hardware/clps7111.h> | 39 | #include <asm/hardware/clps7111.h> |
29 | 40 | ||
41 | /* | ||
42 | * This maps the generic CLPS711x registers | ||
43 | */ | ||
44 | static struct map_desc clps711x_io_desc[] __initdata = { | ||
45 | { | ||
46 | .virtual = CLPS7111_VIRT_BASE, | ||
47 | .pfn = __phys_to_pfn(CLPS7111_PHYS_BASE), | ||
48 | .length = SZ_1M, | ||
49 | .type = MT_DEVICE | ||
50 | } | ||
51 | }; | ||
52 | |||
53 | void __init clps711x_map_io(void) | ||
54 | { | ||
55 | iotable_init(clps711x_io_desc, ARRAY_SIZE(clps711x_io_desc)); | ||
56 | } | ||
57 | |||
30 | static void int1_mask(struct irq_data *d) | 58 | static void int1_mask(struct irq_data *d) |
31 | { | 59 | { |
32 | u32 intmr1; | 60 | u32 intmr1; |
@@ -112,15 +140,15 @@ void __init clps711x_init_irq(void) | |||
112 | 140 | ||
113 | for (i = 0; i < NR_IRQS; i++) { | 141 | for (i = 0; i < NR_IRQS; i++) { |
114 | if (INT1_IRQS & (1 << i)) { | 142 | if (INT1_IRQS & (1 << i)) { |
115 | irq_set_chip_and_handler(i, &int1_chip, | 143 | irq_set_chip_and_handler(i, &int1_chip, |
116 | handle_level_irq); | 144 | handle_level_irq); |
117 | set_irq_flags(i, IRQF_VALID | IRQF_PROBE); | 145 | set_irq_flags(i, IRQF_VALID | IRQF_PROBE); |
118 | } | 146 | } |
119 | if (INT2_IRQS & (1 << i)) { | 147 | if (INT2_IRQS & (1 << i)) { |
120 | irq_set_chip_and_handler(i, &int2_chip, | 148 | irq_set_chip_and_handler(i, &int2_chip, |
121 | handle_level_irq); | 149 | handle_level_irq); |
122 | set_irq_flags(i, IRQF_VALID | IRQF_PROBE); | 150 | set_irq_flags(i, IRQF_VALID | IRQF_PROBE); |
123 | } | 151 | } |
124 | } | 152 | } |
125 | 153 | ||
126 | /* | 154 | /* |
@@ -141,3 +169,59 @@ void __init clps711x_init_irq(void) | |||
141 | clps_writel(0, SYNCIO); | 169 | clps_writel(0, SYNCIO); |
142 | clps_writel(0, KBDEOI); | 170 | clps_writel(0, KBDEOI); |
143 | } | 171 | } |
172 | |||
173 | /* | ||
174 | * gettimeoffset() returns time since last timer tick, in usecs. | ||
175 | * | ||
176 | * 'LATCH' is hwclock ticks (see CLOCK_TICK_RATE in timex.h) per jiffy. | ||
177 | * 'tick' is usecs per jiffy. | ||
178 | */ | ||
179 | static unsigned long clps711x_gettimeoffset(void) | ||
180 | { | ||
181 | unsigned long hwticks; | ||
182 | hwticks = LATCH - (clps_readl(TC2D) & 0xffff); /* since last underflow */ | ||
183 | return (hwticks * (tick_nsec / 1000)) / LATCH; | ||
184 | } | ||
185 | |||
186 | /* | ||
187 | * IRQ handler for the timer | ||
188 | */ | ||
189 | static irqreturn_t p720t_timer_interrupt(int irq, void *dev_id) | ||
190 | { | ||
191 | timer_tick(); | ||
192 | return IRQ_HANDLED; | ||
193 | } | ||
194 | |||
195 | static struct irqaction clps711x_timer_irq = { | ||
196 | .name = "CLPS711x Timer Tick", | ||
197 | .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, | ||
198 | .handler = p720t_timer_interrupt, | ||
199 | }; | ||
200 | |||
201 | static void __init clps711x_timer_init(void) | ||
202 | { | ||
203 | struct timespec tv; | ||
204 | unsigned int syscon; | ||
205 | |||
206 | syscon = clps_readl(SYSCON1); | ||
207 | syscon |= SYSCON1_TC2S | SYSCON1_TC2M; | ||
208 | clps_writel(syscon, SYSCON1); | ||
209 | |||
210 | clps_writel(LATCH-1, TC2D); /* 512kHz / 100Hz - 1 */ | ||
211 | |||
212 | setup_irq(IRQ_TC2OI, &clps711x_timer_irq); | ||
213 | |||
214 | tv.tv_nsec = 0; | ||
215 | tv.tv_sec = clps_readl(RTCDR); | ||
216 | do_settimeofday(&tv); | ||
217 | } | ||
218 | |||
219 | struct sys_timer clps711x_timer = { | ||
220 | .init = clps711x_timer_init, | ||
221 | .offset = clps711x_gettimeoffset, | ||
222 | }; | ||
223 | |||
224 | void clps711x_restart(char mode, const char *cmd) | ||
225 | { | ||
226 | soft_restart(0); | ||
227 | } | ||
diff --git a/arch/arm/mach-clps711x/common.h b/arch/arm/mach-clps711x/common.h index 2b8b801f1dc..fc0f0650dcb 100644 --- a/arch/arm/mach-clps711x/common.h +++ b/arch/arm/mach-clps711x/common.h | |||
@@ -9,3 +9,4 @@ struct sys_timer; | |||
9 | extern void clps711x_map_io(void); | 9 | extern void clps711x_map_io(void); |
10 | extern void clps711x_init_irq(void); | 10 | extern void clps711x_init_irq(void); |
11 | extern struct sys_timer clps711x_timer; | 11 | extern struct sys_timer clps711x_timer; |
12 | extern void clps711x_restart(char mode, const char *cmd); | ||
diff --git a/arch/arm/mach-clps711x/edb7211-arch.c b/arch/arm/mach-clps711x/edb7211-arch.c index 9721f6111dc..5fad0b4f40a 100644 --- a/arch/arm/mach-clps711x/edb7211-arch.c +++ b/arch/arm/mach-clps711x/edb7211-arch.c | |||
@@ -62,4 +62,5 @@ MACHINE_START(EDB7211, "CL-EDB7211 (EP7211 eval board)") | |||
62 | .reserve = edb7211_reserve, | 62 | .reserve = edb7211_reserve, |
63 | .init_irq = clps711x_init_irq, | 63 | .init_irq = clps711x_init_irq, |
64 | .timer = &clps711x_timer, | 64 | .timer = &clps711x_timer, |
65 | .restart = clps711x_restart, | ||
65 | MACHINE_END | 66 | MACHINE_END |
diff --git a/arch/arm/mach-clps711x/fortunet.c b/arch/arm/mach-clps711x/fortunet.c index d9925668729..3a3f0b702cb 100644 --- a/arch/arm/mach-clps711x/fortunet.c +++ b/arch/arm/mach-clps711x/fortunet.c | |||
@@ -78,4 +78,5 @@ MACHINE_START(FORTUNET, "ARM-FortuNet") | |||
78 | .map_io = clps711x_map_io, | 78 | .map_io = clps711x_map_io, |
79 | .init_irq = clps711x_init_irq, | 79 | .init_irq = clps711x_init_irq, |
80 | .timer = &clps711x_timer, | 80 | .timer = &clps711x_timer, |
81 | .restart = clps711x_restart, | ||
81 | MACHINE_END | 82 | MACHINE_END |
diff --git a/arch/arm/mach-clps711x/include/mach/system.h b/arch/arm/mach-clps711x/include/mach/system.h index f916cd7a477..23d6ef8c84d 100644 --- a/arch/arm/mach-clps711x/include/mach/system.h +++ b/arch/arm/mach-clps711x/include/mach/system.h | |||
@@ -32,9 +32,4 @@ static inline void arch_idle(void) | |||
32 | mov r0, r0"); | 32 | mov r0, r0"); |
33 | } | 33 | } |
34 | 34 | ||
35 | static inline void arch_reset(char mode, const char *cmd) | ||
36 | { | ||
37 | cpu_reset(0); | ||
38 | } | ||
39 | |||
40 | #endif | 35 | #endif |
diff --git a/arch/arm/mach-clps711x/include/mach/vmalloc.h b/arch/arm/mach-clps711x/include/mach/vmalloc.h deleted file mode 100644 index 467b96137e4..00000000000 --- a/arch/arm/mach-clps711x/include/mach/vmalloc.h +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-clps711x/include/mach/vmalloc.h | ||
3 | * | ||
4 | * Copyright (C) 2000 Deep Blue Solutions Ltd. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program; if not, write to the Free Software | ||
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
19 | */ | ||
20 | #define VMALLOC_END 0xd0000000UL | ||
diff --git a/arch/arm/mach-clps711x/mm.c b/arch/arm/mach-clps711x/mm.c deleted file mode 100644 index 98659217676..00000000000 --- a/arch/arm/mach-clps711x/mm.c +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | /* | ||
2 | * linux/arch/arm/mach-clps711x/mm.c | ||
3 | * | ||
4 | * Generic MM setup for the CLPS711x-based machines. | ||
5 | * | ||
6 | * Copyright (C) 2001 Deep Blue Solutions Ltd | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation; either version 2 of the License, or | ||
11 | * (at your option) any later version. | ||
12 | * | ||
13 | * This program is distributed in the hope that it will be useful, | ||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | * GNU General Public License for more details. | ||
17 | * | ||
18 | * You should have received a copy of the GNU General Public License | ||
19 | * along with this program; if not, write to the Free Software | ||
20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
21 | */ | ||
22 | #include <linux/kernel.h> | ||
23 | #include <linux/mm.h> | ||
24 | #include <linux/init.h> | ||
25 | |||
26 | #include <asm/sizes.h> | ||
27 | #include <mach/hardware.h> | ||
28 | #include <asm/pgtable.h> | ||
29 | #include <asm/page.h> | ||
30 | #include <asm/mach/map.h> | ||
31 | #include <asm/hardware/clps7111.h> | ||
32 | |||
33 | /* | ||
34 | * This maps the generic CLPS711x registers | ||
35 | */ | ||
36 | static struct map_desc clps711x_io_desc[] __initdata = { | ||
37 | { | ||
38 | .virtual = CLPS7111_VIRT_BASE, | ||
39 | .pfn = __phys_to_pfn(CLPS7111_PHYS_BASE), | ||
40 | .length = SZ_1M, | ||
41 | .type = MT_DEVICE | ||
42 | } | ||
43 | }; | ||
44 | |||
45 | void __init clps711x_map_io(void) | ||
46 | { | ||
47 | iotable_init(clps711x_io_desc, ARRAY_SIZE(clps711x_io_desc)); | ||
48 | } | ||
diff --git a/arch/arm/mach-clps711x/p720t.c b/arch/arm/mach-clps711x/p720t.c index 6ecea95f38b..42ee8f33eaf 100644 --- a/arch/arm/mach-clps711x/p720t.c +++ b/arch/arm/mach-clps711x/p720t.c | |||
@@ -93,6 +93,7 @@ MACHINE_START(P720T, "ARM-Prospector720T") | |||
93 | .map_io = p720t_map_io, | 93 | .map_io = p720t_map_io, |
94 | .init_irq = clps711x_init_irq, | 94 | .init_irq = clps711x_init_irq, |
95 | .timer = &clps711x_timer, | 95 | .timer = &clps711x_timer, |
96 | .restart = clps711x_restart, | ||
96 | MACHINE_END | 97 | MACHINE_END |
97 | 98 | ||
98 | static int p720t_hw_init(void) | 99 | static int p720t_hw_init(void) |
diff --git a/arch/arm/mach-clps711x/time.c b/arch/arm/mach-clps711x/time.c deleted file mode 100644 index d581ef0bcd2..00000000000 --- a/arch/arm/mach-clps711x/time.c +++ /dev/null | |||
@@ -1,84 +0,0 @@ | |||
1 | /* | ||
2 | * linux/arch/arm/mach-clps711x/time.c | ||
3 | * | ||
4 | * Copyright (C) 2001 Deep Blue Solutions Ltd. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, write to the Free Software | ||
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
18 | */ | ||
19 | #include <linux/timex.h> | ||
20 | #include <linux/init.h> | ||
21 | #include <linux/interrupt.h> | ||
22 | #include <linux/irq.h> | ||
23 | #include <linux/sched.h> | ||
24 | #include <linux/io.h> | ||
25 | |||
26 | #include <mach/hardware.h> | ||
27 | #include <asm/irq.h> | ||
28 | #include <asm/leds.h> | ||
29 | #include <asm/hardware/clps7111.h> | ||
30 | |||
31 | #include <asm/mach/time.h> | ||
32 | |||
33 | |||
34 | /* | ||
35 | * gettimeoffset() returns time since last timer tick, in usecs. | ||
36 | * | ||
37 | * 'LATCH' is hwclock ticks (see CLOCK_TICK_RATE in timex.h) per jiffy. | ||
38 | * 'tick' is usecs per jiffy. | ||
39 | */ | ||
40 | static unsigned long clps711x_gettimeoffset(void) | ||
41 | { | ||
42 | unsigned long hwticks; | ||
43 | hwticks = LATCH - (clps_readl(TC2D) & 0xffff); /* since last underflow */ | ||
44 | return (hwticks * (tick_nsec / 1000)) / LATCH; | ||
45 | } | ||
46 | |||
47 | /* | ||
48 | * IRQ handler for the timer | ||
49 | */ | ||
50 | static irqreturn_t | ||
51 | p720t_timer_interrupt(int irq, void *dev_id) | ||
52 | { | ||
53 | timer_tick(); | ||
54 | return IRQ_HANDLED; | ||
55 | } | ||
56 | |||
57 | static struct irqaction clps711x_timer_irq = { | ||
58 | .name = "CLPS711x Timer Tick", | ||
59 | .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, | ||
60 | .handler = p720t_timer_interrupt, | ||
61 | }; | ||
62 | |||
63 | static void __init clps711x_timer_init(void) | ||
64 | { | ||
65 | struct timespec tv; | ||
66 | unsigned int syscon; | ||
67 | |||
68 | syscon = clps_readl(SYSCON1); | ||
69 | syscon |= SYSCON1_TC2S | SYSCON1_TC2M; | ||
70 | clps_writel(syscon, SYSCON1); | ||
71 | |||
72 | clps_writel(LATCH-1, TC2D); /* 512kHz / 100Hz - 1 */ | ||
73 | |||
74 | setup_irq(IRQ_TC2OI, &clps711x_timer_irq); | ||
75 | |||
76 | tv.tv_nsec = 0; | ||
77 | tv.tv_sec = clps_readl(RTCDR); | ||
78 | do_settimeofday(&tv); | ||
79 | } | ||
80 | |||
81 | struct sys_timer clps711x_timer = { | ||
82 | .init = clps711x_timer_init, | ||
83 | .offset = clps711x_gettimeoffset, | ||
84 | }; | ||