diff options
Diffstat (limited to 'arch/arm/mach-clps711x')
-rw-r--r-- | arch/arm/mach-clps711x/board-autcpu12.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/board-cdb89712.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/board-clep7312.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/board-edb7211.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/board-fortunet.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/board-p720t.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/common.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/common.h | 4 | ||||
-rw-r--r-- | arch/arm/mach-clps711x/include/mach/uncompress.h | 2 |
9 files changed, 8 insertions, 16 deletions
diff --git a/arch/arm/mach-clps711x/board-autcpu12.c b/arch/arm/mach-clps711x/board-autcpu12.c index 3fbf43f72589..f38584709df7 100644 --- a/arch/arm/mach-clps711x/board-autcpu12.c +++ b/arch/arm/mach-clps711x/board-autcpu12.c | |||
@@ -170,7 +170,7 @@ MACHINE_START(AUTCPU12, "autronix autcpu12") | |||
170 | .nr_irqs = CLPS711X_NR_IRQS, | 170 | .nr_irqs = CLPS711X_NR_IRQS, |
171 | .map_io = clps711x_map_io, | 171 | .map_io = clps711x_map_io, |
172 | .init_irq = clps711x_init_irq, | 172 | .init_irq = clps711x_init_irq, |
173 | .timer = &clps711x_timer, | 173 | .init_time = clps711x_timer_init, |
174 | .init_machine = autcpu12_init, | 174 | .init_machine = autcpu12_init, |
175 | .init_late = autcpu12_init_late, | 175 | .init_late = autcpu12_init_late, |
176 | .handle_irq = clps711x_handle_irq, | 176 | .handle_irq = clps711x_handle_irq, |
diff --git a/arch/arm/mach-clps711x/board-cdb89712.c b/arch/arm/mach-clps711x/board-cdb89712.c index 60900ddf97c9..baab7da33c9b 100644 --- a/arch/arm/mach-clps711x/board-cdb89712.c +++ b/arch/arm/mach-clps711x/board-cdb89712.c | |||
@@ -140,7 +140,7 @@ MACHINE_START(CDB89712, "Cirrus-CDB89712") | |||
140 | .nr_irqs = CLPS711X_NR_IRQS, | 140 | .nr_irqs = CLPS711X_NR_IRQS, |
141 | .map_io = clps711x_map_io, | 141 | .map_io = clps711x_map_io, |
142 | .init_irq = clps711x_init_irq, | 142 | .init_irq = clps711x_init_irq, |
143 | .timer = &clps711x_timer, | 143 | .init_time = clps711x_timer_init, |
144 | .init_machine = cdb89712_init, | 144 | .init_machine = cdb89712_init, |
145 | .handle_irq = clps711x_handle_irq, | 145 | .handle_irq = clps711x_handle_irq, |
146 | .restart = clps711x_restart, | 146 | .restart = clps711x_restart, |
diff --git a/arch/arm/mach-clps711x/board-clep7312.c b/arch/arm/mach-clps711x/board-clep7312.c index 0b32a487183b..014aa3c19a03 100644 --- a/arch/arm/mach-clps711x/board-clep7312.c +++ b/arch/arm/mach-clps711x/board-clep7312.c | |||
@@ -40,7 +40,7 @@ MACHINE_START(CLEP7212, "Cirrus Logic 7212/7312") | |||
40 | .fixup = fixup_clep7312, | 40 | .fixup = fixup_clep7312, |
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 | .init_time = clps711x_timer_init, |
44 | .handle_irq = clps711x_handle_irq, | 44 | .handle_irq = clps711x_handle_irq, |
45 | .restart = clps711x_restart, | 45 | .restart = clps711x_restart, |
46 | MACHINE_END | 46 | MACHINE_END |
diff --git a/arch/arm/mach-clps711x/board-edb7211.c b/arch/arm/mach-clps711x/board-edb7211.c index 71aa5cf2c0d3..5f928e9ed2ef 100644 --- a/arch/arm/mach-clps711x/board-edb7211.c +++ b/arch/arm/mach-clps711x/board-edb7211.c | |||
@@ -173,7 +173,7 @@ MACHINE_START(EDB7211, "CL-EDB7211 (EP7211 eval board)") | |||
173 | .reserve = edb7211_reserve, | 173 | .reserve = edb7211_reserve, |
174 | .map_io = edb7211_map_io, | 174 | .map_io = edb7211_map_io, |
175 | .init_irq = clps711x_init_irq, | 175 | .init_irq = clps711x_init_irq, |
176 | .timer = &clps711x_timer, | 176 | .init_time = clps711x_timer_init, |
177 | .init_machine = edb7211_init, | 177 | .init_machine = edb7211_init, |
178 | .handle_irq = clps711x_handle_irq, | 178 | .handle_irq = clps711x_handle_irq, |
179 | .restart = clps711x_restart, | 179 | .restart = clps711x_restart, |
diff --git a/arch/arm/mach-clps711x/board-fortunet.c b/arch/arm/mach-clps711x/board-fortunet.c index 7d0125580366..c5675efc8c6a 100644 --- a/arch/arm/mach-clps711x/board-fortunet.c +++ b/arch/arm/mach-clps711x/board-fortunet.c | |||
@@ -78,7 +78,7 @@ MACHINE_START(FORTUNET, "ARM-FortuNet") | |||
78 | .fixup = fortunet_fixup, | 78 | .fixup = fortunet_fixup, |
79 | .map_io = clps711x_map_io, | 79 | .map_io = clps711x_map_io, |
80 | .init_irq = clps711x_init_irq, | 80 | .init_irq = clps711x_init_irq, |
81 | .timer = &clps711x_timer, | 81 | .init_time = clps711x_timer_init, |
82 | .handle_irq = clps711x_handle_irq, | 82 | .handle_irq = clps711x_handle_irq, |
83 | .restart = clps711x_restart, | 83 | .restart = clps711x_restart, |
84 | MACHINE_END | 84 | MACHINE_END |
diff --git a/arch/arm/mach-clps711x/board-p720t.c b/arch/arm/mach-clps711x/board-p720t.c index 1518fc83babd..8d3ee6771135 100644 --- a/arch/arm/mach-clps711x/board-p720t.c +++ b/arch/arm/mach-clps711x/board-p720t.c | |||
@@ -224,7 +224,7 @@ MACHINE_START(P720T, "ARM-Prospector720T") | |||
224 | .map_io = p720t_map_io, | 224 | .map_io = p720t_map_io, |
225 | .init_early = p720t_init_early, | 225 | .init_early = p720t_init_early, |
226 | .init_irq = clps711x_init_irq, | 226 | .init_irq = clps711x_init_irq, |
227 | .timer = &clps711x_timer, | 227 | .init_time = clps711x_timer_init, |
228 | .init_machine = p720t_init, | 228 | .init_machine = p720t_init, |
229 | .init_late = p720t_init_late, | 229 | .init_late = p720t_init_late, |
230 | .handle_irq = clps711x_handle_irq, | 230 | .handle_irq = clps711x_handle_irq, |
diff --git a/arch/arm/mach-clps711x/common.c b/arch/arm/mach-clps711x/common.c index e046439573ee..20ff50f3ccf0 100644 --- a/arch/arm/mach-clps711x/common.c +++ b/arch/arm/mach-clps711x/common.c | |||
@@ -282,7 +282,7 @@ static void add_fixed_clk(struct clk *clk, const char *name, int rate) | |||
282 | clk_register_clkdev(clk, name, NULL); | 282 | clk_register_clkdev(clk, name, NULL); |
283 | } | 283 | } |
284 | 284 | ||
285 | static void __init clps711x_timer_init(void) | 285 | void __init clps711x_timer_init(void) |
286 | { | 286 | { |
287 | int osc, ext, pll, cpu, bus, timl, timh, uart, spi; | 287 | int osc, ext, pll, cpu, bus, timl, timh, uart, spi; |
288 | u32 tmp; | 288 | u32 tmp; |
@@ -345,10 +345,6 @@ static void __init clps711x_timer_init(void) | |||
345 | setup_irq(IRQ_TC2OI, &clps711x_timer_irq); | 345 | setup_irq(IRQ_TC2OI, &clps711x_timer_irq); |
346 | } | 346 | } |
347 | 347 | ||
348 | struct sys_timer clps711x_timer = { | ||
349 | .init = clps711x_timer_init, | ||
350 | }; | ||
351 | |||
352 | void clps711x_restart(char mode, const char *cmd) | 348 | void clps711x_restart(char mode, const char *cmd) |
353 | { | 349 | { |
354 | soft_restart(0); | 350 | soft_restart(0); |
diff --git a/arch/arm/mach-clps711x/common.h b/arch/arm/mach-clps711x/common.h index b7c0c75c90c0..f84a7292c70e 100644 --- a/arch/arm/mach-clps711x/common.h +++ b/arch/arm/mach-clps711x/common.h | |||
@@ -8,10 +8,8 @@ | |||
8 | #define CLPS711X_NR_GPIO (4 * 8 + 3) | 8 | #define CLPS711X_NR_GPIO (4 * 8 + 3) |
9 | #define CLPS711X_GPIO(prt, bit) ((prt) * 8 + (bit)) | 9 | #define CLPS711X_GPIO(prt, bit) ((prt) * 8 + (bit)) |
10 | 10 | ||
11 | struct sys_timer; | ||
12 | |||
13 | extern void clps711x_map_io(void); | 11 | extern void clps711x_map_io(void); |
14 | extern void clps711x_init_irq(void); | 12 | extern void clps711x_init_irq(void); |
13 | extern void clps711x_timer_init(void); | ||
15 | extern void clps711x_handle_irq(struct pt_regs *regs); | 14 | extern void clps711x_handle_irq(struct pt_regs *regs); |
16 | extern void clps711x_restart(char mode, const char *cmd); | 15 | extern void clps711x_restart(char mode, const char *cmd); |
17 | extern struct sys_timer clps711x_timer; | ||
diff --git a/arch/arm/mach-clps711x/include/mach/uncompress.h b/arch/arm/mach-clps711x/include/mach/uncompress.h index 7b28d6a47690..5f02d06dc655 100644 --- a/arch/arm/mach-clps711x/include/mach/uncompress.h +++ b/arch/arm/mach-clps711x/include/mach/uncompress.h | |||
@@ -53,5 +53,3 @@ static inline void flush(void) | |||
53 | * nothing to do | 53 | * nothing to do |
54 | */ | 54 | */ |
55 | #define arch_decomp_setup() | 55 | #define arch_decomp_setup() |
56 | |||
57 | #define arch_decomp_wdog() | ||