diff options
-rw-r--r-- | arch/arm/mach-at91/at91rm9200.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-at91/at91rm9200.c b/arch/arm/mach-at91/at91rm9200.c index bfc9aed90b91..7634e10bc5dc 100644 --- a/arch/arm/mach-at91/at91rm9200.c +++ b/arch/arm/mach-at91/at91rm9200.c | |||
@@ -15,8 +15,6 @@ | |||
15 | #include <asm/mach/arch.h> | 15 | #include <asm/mach/arch.h> |
16 | #include <asm/system_misc.h> | 16 | #include <asm/system_misc.h> |
17 | 17 | ||
18 | #include <mach/at91_st.h> | ||
19 | |||
20 | #include "generic.h" | 18 | #include "generic.h" |
21 | #include "soc.h" | 19 | #include "soc.h" |
22 | 20 | ||
@@ -25,15 +23,6 @@ static const struct at91_soc rm9200_socs[] = { | |||
25 | { /* sentinel */ }, | 23 | { /* sentinel */ }, |
26 | }; | 24 | }; |
27 | 25 | ||
28 | static void at91rm9200_restart(enum reboot_mode reboot_mode, const char *cmd) | ||
29 | { | ||
30 | /* | ||
31 | * Perform a hardware reset with the use of the Watchdog timer. | ||
32 | */ | ||
33 | at91_st_write(AT91_ST_WDMR, AT91_ST_RSTEN | AT91_ST_EXTEN | 1); | ||
34 | at91_st_write(AT91_ST_CR, AT91_ST_WDRST); | ||
35 | } | ||
36 | |||
37 | static void __init at91rm9200_dt_timer_init(void) | 26 | static void __init at91rm9200_dt_timer_init(void) |
38 | { | 27 | { |
39 | of_clk_init(NULL); | 28 | of_clk_init(NULL); |
@@ -52,7 +41,6 @@ static void __init at91rm9200_dt_device_init(void) | |||
52 | of_platform_populate(NULL, of_default_bus_match_table, NULL, soc_dev); | 41 | of_platform_populate(NULL, of_default_bus_match_table, NULL, soc_dev); |
53 | 42 | ||
54 | arm_pm_idle = at91rm9200_idle; | 43 | arm_pm_idle = at91rm9200_idle; |
55 | arm_pm_restart = at91rm9200_restart; | ||
56 | at91rm9200_pm_init(); | 44 | at91rm9200_pm_init(); |
57 | } | 45 | } |
58 | 46 | ||