aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91rm9200.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-03-12 08:07:29 -0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2015-03-16 12:03:03 -0400
commitd8d1c6c8b0bec79b42f9e85fbf449ba7dd77accd (patch)
tree70e29519a69a837a3a634ba65c91f1edd27fca64 /arch/arm/mach-at91/at91rm9200.c
parent9ab45f3fb2bebd048ffa2692e8f7cc89f3d379d4 (diff)
ARM: at91: at91rm9200: remove deprecated arm_pm_restart
Now that a proper driver is available, remove at91rm9200_restart. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/at91rm9200.c')
-rw-r--r--arch/arm/mach-at91/at91rm9200.c12
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
28static 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
37static void __init at91rm9200_dt_timer_init(void) 26static 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