arm: socfpga: reset: Replace ad-hoc reset functions
authorMarek Vasut <marex@denx.de>
Thu, 9 Jul 2015 00:51:56 +0000 (02:51 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:06 +0000 (14:14 +0200)
commita71df7aa4fa775199280bba19072bd232cc35cb1
tree2259821f344ae727734790145bf50eecb46fdecc
parentbdfc2ef64a4df550a4090c31dae9a133c92ac5ca
arm: socfpga: reset: Replace ad-hoc reset functions

Replace all those ad-hoc reset functions, which were all copies
of the same invocation of clrbits_le32() anyway, with one single
unified function, socfpga_per_reset(), with necessary parameters.

Signed-off-by: Marek Vasut <marex@denx.de>
arch/arm/mach-socfpga/include/mach/reset_manager.h
arch/arm/mach-socfpga/misc.c
arch/arm/mach-socfpga/reset_manager.c
arch/arm/mach-socfpga/spl.c