diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-10-27 11:39:26 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-10-27 11:39:26 -0400 |
commit | 61c8621e2bd14faad9b89ab2284955b28000bcd5 (patch) | |
tree | b7b24d5490f68336f06dcee1dbc50d2fc2254a55 /arch/arm/mach-omap2/am33xx-restart.c | |
parent | 4984eeaf71f033d1ca6b644e4fcdef4b3e6a97b4 (diff) |
ARM: OMAP2+: PRM: provide generic API for system reset
This patch combines the various prm_warm_reset calls under a common
API prm_reset_system, and adds the SoC specific implementation under
prm_ll_data.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/am33xx-restart.c')
-rw-r--r-- | arch/arm/mach-omap2/am33xx-restart.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/am33xx-restart.c b/arch/arm/mach-omap2/am33xx-restart.c index 728638913cd1..5bace6a45ffb 100644 --- a/arch/arm/mach-omap2/am33xx-restart.c +++ b/arch/arm/mach-omap2/am33xx-restart.c | |||
@@ -9,8 +9,7 @@ | |||
9 | #include <linux/reboot.h> | 9 | #include <linux/reboot.h> |
10 | 10 | ||
11 | #include "common.h" | 11 | #include "common.h" |
12 | #include "prm-regbits-33xx.h" | 12 | #include "prm.h" |
13 | #include "prm33xx.h" | ||
14 | 13 | ||
15 | /** | 14 | /** |
16 | * am3xx_restart - trigger a software restart of the SoC | 15 | * am3xx_restart - trigger a software restart of the SoC |
@@ -24,5 +23,5 @@ void am33xx_restart(enum reboot_mode mode, const char *cmd) | |||
24 | { | 23 | { |
25 | /* TODO: Handle mode and cmd if necessary */ | 24 | /* TODO: Handle mode and cmd if necessary */ |
26 | 25 | ||
27 | am33xx_prm_global_warm_sw_reset(); | 26 | omap_prm_reset_system(); |
28 | } | 27 | } |