diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 17:58:40 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 17:58:40 -0500 |
commit | b274776c54c320763bc12eb035c0e244f76ccb43 (patch) | |
tree | c75b70d0824a7ae029229b19d61884039abf2127 /arch/arm/mach-clps711x | |
parent | b24174b0cbbe383c5bb6097aeb24480b8fd2d338 (diff) | |
parent | 3b1209e7994c4d31ff9932a7f566ae1c96b3c443 (diff) |
Merge tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC cleanups from Arnd Bergmann:
"A large number of cleanups, all over the platforms. This is dominated
largely by the Samsung platforms (s3c, s5p, exynos) and a few of the
others moving code out of arch/arm into more appropriate subsystems.
The clocksource and irqchip drivers are now abstracted to the point
where platforms that are already cleaned up do not need to even
specify the driver they use, it can all get configured from the device
tree as we do for normal device drivers. The clocksource changes
basically touch every single platform in the process.
We further clean up the use of platform specific header files here,
with the goal of turning more of the platforms over to being
"multiplatform" enabled, which implies that they cannot expose their
headers to architecture independent code any more.
It is expected that no functional changes are part of the cleanup.
The overall reduction in total code lines is mostly the result of
removing broken and obsolete code."
* tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (133 commits)
ARM: mvebu: correct gated clock documentation
ARM: kirkwood: add missing include for nsa310
ARM: exynos: move exynos4210-combiner to drivers/irqchip
mfd: db8500-prcmu: update resource passing
drivers/db8500-cpufreq: delete dangling include
ARM: at91: remove NEOCORE 926 board
sunxi: Cleanup the reset code and add meaningful registers defines
ARM: S3C24XX: header mach/regs-mem.h local
ARM: S3C24XX: header mach/regs-power.h local
ARM: S3C24XX: header mach/regs-s3c2412-mem.h local
ARM: S3C24XX: Remove plat-s3c24xx directory in arch/arm/
ARM: S3C24XX: transform s3c2443 subirqs into new structure
ARM: S3C24XX: modify s3c2443 irq init to initialize all irqs
ARM: S3C24XX: move s3c2443 irq code to irq.c
ARM: S3C24XX: transform s3c2416 irqs into new structure
ARM: S3C24XX: modify s3c2416 irq init to initialize all irqs
ARM: S3C24XX: move s3c2416 irq init to common irq code
ARM: S3C24XX: Modify s3c_irq_wake to use the hwirq property
ARM: S3C24XX: Move irq syscore-ops to irq-pm
clocksource: always define CLOCKSOURCE_OF_DECLARE
...
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() | ||