aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-10-15 03:55:17 -0400
committerLee Jones <lee.jones@linaro.org>2012-11-01 08:02:24 -0400
commit46c1bf813376654f6b75120b9c2cf3de0f67af7d (patch)
tree10ed95bad55554ded044d570a25fb6d3f90d7875
parent58e5b9e3d0b5e1319fd24124e79b4d4e6188bf1b (diff)
ARM: ux500: Remove duplicate DT_MACHINE_START - make u8500 for generic
The u8500 and u9540 DT_MACHINE_START calls are almost identical at the moment, referencing exactly the same function pointers. Until this changes we may as well convert the original one to be more generic and use that instead. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r--arch/arm/mach-ux500/cpu-db8500.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c
index 6e9a06d693a6..472b49f90317 100644
--- a/arch/arm/mach-ux500/cpu-db8500.c
+++ b/arch/arm/mach-ux500/cpu-db8500.c
@@ -338,7 +338,7 @@ static const char * u8500_dt_board_compat[] = {
338 NULL, 338 NULL,
339}; 339};
340 340
341DT_MACHINE_START(U8500_DT, "ST-Ericsson U8500 platform (Device Tree Support)") 341DT_MACHINE_START(U8500_DT, "ST-Ericsson Ux5x0 platform (Device Tree Support)")
342 .map_io = u8500_map_io, 342 .map_io = u8500_map_io,
343 .init_irq = ux500_init_irq, 343 .init_irq = ux500_init_irq,
344 /* we re-use nomadik timer here */ 344 /* we re-use nomadik timer here */
@@ -349,14 +349,4 @@ DT_MACHINE_START(U8500_DT, "ST-Ericsson U8500 platform (Device Tree Support)")
349 .dt_compat = u8500_dt_board_compat, 349 .dt_compat = u8500_dt_board_compat,
350MACHINE_END 350MACHINE_END
351 351
352DT_MACHINE_START(U9540_DT, "ST-Ericsson 9540 platform (Device Tree Support)")
353 .map_io = u8500_map_io,
354 .init_irq = ux500_init_irq,
355 .timer = &ux500_timer,
356 .handle_irq = gic_handle_irq,
357 .init_machine = u8500_init_machine,
358 .init_late = NULL,
359 .dt_compat = u8500_dt_board_compat,
360MACHINE_END
361
362#endif 352#endif