diff options
author | Marian Balakowicz <m8@semihalf.com> | 2007-10-18 14:44:39 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2007-10-21 14:43:14 -0400 |
commit | 9dda78b711ca4d507251a7e896b2f41ec019fc58 (patch) | |
tree | a85f313aef84b2a0ca1ca18bfd38e7031738a545 /arch/powerpc | |
parent | 86b92cdda9e997dd305851cb16292c67076d58cb (diff) |
[POWERPC] Enable restart support for lite5200 board
Use the watchdog timer to implement board restart support.
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/platforms/52xx/lite5200.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/52xx/lite5200.c b/arch/powerpc/platforms/52xx/lite5200.c index 65b7ae426238..25d2bfa3d9dc 100644 --- a/arch/powerpc/platforms/52xx/lite5200.c +++ b/arch/powerpc/platforms/52xx/lite5200.c | |||
@@ -145,6 +145,9 @@ static void __init lite5200_setup_arch(void) | |||
145 | /* Some mpc5200 & mpc5200b related configuration */ | 145 | /* Some mpc5200 & mpc5200b related configuration */ |
146 | mpc5200_setup_xlb_arbiter(); | 146 | mpc5200_setup_xlb_arbiter(); |
147 | 147 | ||
148 | /* Map wdt for mpc52xx_restart() */ | ||
149 | mpc52xx_map_wdt(); | ||
150 | |||
148 | #ifdef CONFIG_PM | 151 | #ifdef CONFIG_PM |
149 | mpc52xx_suspend.board_suspend_prepare = lite5200_suspend_prepare; | 152 | mpc52xx_suspend.board_suspend_prepare = lite5200_suspend_prepare; |
150 | mpc52xx_suspend.board_resume_finish = lite5200_resume_finish; | 153 | mpc52xx_suspend.board_resume_finish = lite5200_resume_finish; |
@@ -183,5 +186,6 @@ define_machine(lite5200) { | |||
183 | .init = mpc52xx_declare_of_platform_devices, | 186 | .init = mpc52xx_declare_of_platform_devices, |
184 | .init_IRQ = mpc52xx_init_irq, | 187 | .init_IRQ = mpc52xx_init_irq, |
185 | .get_irq = mpc52xx_get_irq, | 188 | .get_irq = mpc52xx_get_irq, |
189 | .restart = mpc52xx_restart, | ||
186 | .calibrate_decr = generic_calibrate_decr, | 190 | .calibrate_decr = generic_calibrate_decr, |
187 | }; | 191 | }; |