diff options
Diffstat (limited to 'arch/arm/mach-omap2/omap3-restart.c')
-rw-r--r-- | arch/arm/mach-omap2/omap3-restart.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/omap3-restart.c b/arch/arm/mach-omap2/omap3-restart.c index 5de2a0c2979d..103a49f68bcb 100644 --- a/arch/arm/mach-omap2/omap3-restart.c +++ b/arch/arm/mach-omap2/omap3-restart.c | |||
@@ -14,10 +14,8 @@ | |||
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <linux/reboot.h> | 15 | #include <linux/reboot.h> |
16 | 16 | ||
17 | #include "iomap.h" | ||
18 | #include "common.h" | ||
19 | #include "control.h" | 17 | #include "control.h" |
20 | #include "prm3xxx.h" | 18 | #include "prm.h" |
21 | 19 | ||
22 | /* Global address base setup code */ | 20 | /* Global address base setup code */ |
23 | 21 | ||
@@ -32,6 +30,5 @@ | |||
32 | void omap3xxx_restart(enum reboot_mode mode, const char *cmd) | 30 | void omap3xxx_restart(enum reboot_mode mode, const char *cmd) |
33 | { | 31 | { |
34 | omap3_ctrl_write_boot_mode((cmd ? (u8)*cmd : 0)); | 32 | omap3_ctrl_write_boot_mode((cmd ? (u8)*cmd : 0)); |
35 | omap3xxx_prm_dpll3_reset(); /* never returns */ | 33 | omap_prm_reset_system(); |
36 | while (1); | ||
37 | } | 34 | } |