diff options
author | Dinh Nguyen <dinguyen@altera.com> | 2013-04-11 11:55:24 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-04-14 23:17:33 -0400 |
commit | 5c04b57fe33c7700e433983bb69e50ec8d8f08cd (patch) | |
tree | a4c95094ab7c7918d4e64de7fcc1cd74386015f0 /arch/arm/mach-socfpga/platsmp.c | |
parent | a93216c9212cb9ec36bb71776b706e7ed2d9d67c (diff) |
ARM: socfpga: Enable soft reset
Enable a cold or warm reset to the HW from userspace.
Also fix a few sparse errors:
warning: symbol 'sys_manager_base_addr' was not declared. Should it be static?
warning: symbol 'rst_manager_base_addr' was not declared. Should it be static?
Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
Reviewed-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-socfpga/platsmp.c')
-rw-r--r-- | arch/arm/mach-socfpga/platsmp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-socfpga/platsmp.c b/arch/arm/mach-socfpga/platsmp.c index 84c60fa8daa0..b907fb986d9e 100644 --- a/arch/arm/mach-socfpga/platsmp.c +++ b/arch/arm/mach-socfpga/platsmp.c | |||
@@ -30,9 +30,6 @@ | |||
30 | 30 | ||
31 | #include "core.h" | 31 | #include "core.h" |
32 | 32 | ||
33 | extern void __iomem *sys_manager_base_addr; | ||
34 | extern void __iomem *rst_manager_base_addr; | ||
35 | |||
36 | static void __cpuinit socfpga_secondary_init(unsigned int cpu) | 33 | static void __cpuinit socfpga_secondary_init(unsigned int cpu) |
37 | { | 34 | { |
38 | /* | 35 | /* |