diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-10-29 22:56:12 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-11-08 14:33:08 -0500 |
commit | 187e3e06e8d7050a77c3208f54edff1e1bfae31d (patch) | |
tree | 39cb9a6ebcd9e04e76d270f5ef7e6c7f508d5d4e /arch/arm/mach-omap2/board-generic.c | |
parent | 2f334a3896714b47e24cc4cd08eed11d1a7f0d8e (diff) |
ARM: OMAP2+: board files: use SoC-specific system restart functions
Modify the board files to use the SoC-specific system restart
functions. At this point it's possible to remove omap_prcm_restart()
from mach-omap2/prcm.c.
While removing the prototypes for the now-unused restart functions, clean
up a few more obsolete prototypes in mach-omap2/clock.h.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Vaibhav Hiremath <hvaibhav@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-generic.c')
-rw-r--r-- | arch/arm/mach-omap2/board-generic.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index 601ecdfb1cf9..475e14f07216 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c | |||
@@ -57,7 +57,7 @@ DT_MACHINE_START(OMAP242X_DT, "Generic OMAP2420 (Flattened Device Tree)") | |||
57 | .init_machine = omap_generic_init, | 57 | .init_machine = omap_generic_init, |
58 | .timer = &omap2_timer, | 58 | .timer = &omap2_timer, |
59 | .dt_compat = omap242x_boards_compat, | 59 | .dt_compat = omap242x_boards_compat, |
60 | .restart = omap_prcm_restart, | 60 | .restart = omap2xxx_restart, |
61 | MACHINE_END | 61 | MACHINE_END |
62 | #endif | 62 | #endif |
63 | 63 | ||
@@ -76,7 +76,7 @@ DT_MACHINE_START(OMAP243X_DT, "Generic OMAP2430 (Flattened Device Tree)") | |||
76 | .init_machine = omap_generic_init, | 76 | .init_machine = omap_generic_init, |
77 | .timer = &omap2_timer, | 77 | .timer = &omap2_timer, |
78 | .dt_compat = omap243x_boards_compat, | 78 | .dt_compat = omap243x_boards_compat, |
79 | .restart = omap_prcm_restart, | 79 | .restart = omap2xxx_restart, |
80 | MACHINE_END | 80 | MACHINE_END |
81 | #endif | 81 | #endif |
82 | 82 | ||
@@ -95,7 +95,7 @@ DT_MACHINE_START(OMAP3_DT, "Generic OMAP3 (Flattened Device Tree)") | |||
95 | .init_machine = omap_generic_init, | 95 | .init_machine = omap_generic_init, |
96 | .timer = &omap3_timer, | 96 | .timer = &omap3_timer, |
97 | .dt_compat = omap3_boards_compat, | 97 | .dt_compat = omap3_boards_compat, |
98 | .restart = omap_prcm_restart, | 98 | .restart = omap3xxx_restart, |
99 | MACHINE_END | 99 | MACHINE_END |
100 | #endif | 100 | #endif |
101 | 101 | ||
@@ -134,7 +134,7 @@ DT_MACHINE_START(OMAP4_DT, "Generic OMAP4 (Flattened Device Tree)") | |||
134 | .init_late = omap4430_init_late, | 134 | .init_late = omap4430_init_late, |
135 | .timer = &omap4_timer, | 135 | .timer = &omap4_timer, |
136 | .dt_compat = omap4_boards_compat, | 136 | .dt_compat = omap4_boards_compat, |
137 | .restart = omap_prcm_restart, | 137 | .restart = omap44xx_restart, |
138 | MACHINE_END | 138 | MACHINE_END |
139 | #endif | 139 | #endif |
140 | 140 | ||
@@ -154,6 +154,6 @@ DT_MACHINE_START(OMAP5_DT, "Generic OMAP5 (Flattened Device Tree)") | |||
154 | .init_machine = omap_generic_init, | 154 | .init_machine = omap_generic_init, |
155 | .timer = &omap5_timer, | 155 | .timer = &omap5_timer, |
156 | .dt_compat = omap5_boards_compat, | 156 | .dt_compat = omap5_boards_compat, |
157 | .restart = omap_prcm_restart, | 157 | .restart = omap44xx_restart, |
158 | MACHINE_END | 158 | MACHINE_END |
159 | #endif | 159 | #endif |