ARM: socfpga: Enable soft reset
authorDinh Nguyen <dinguyen@altera.com>
Thu, 11 Apr 2013 15:55:24 +0000 (10:55 -0500)
committerOlof Johansson <olof@lixom.net>
Mon, 15 Apr 2013 03:17:33 +0000 (20:17 -0700)
commit5c04b57fe33c7700e433983bb69e50ec8d8f08cd
treea4c95094ab7c7918d4e64de7fcc1cd74386015f0
parenta93216c9212cb9ec36bb71776b706e7ed2d9d67c
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>
arch/arm/mach-socfpga/core.h
arch/arm/mach-socfpga/platsmp.c
arch/arm/mach-socfpga/socfpga.c