]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: socfpga: reset: Replace ad-hoc reset functions
authorMarek Vasut <marex@denx.de>
Thu, 9 Jul 2015 00:51:56 +0000 (02:51 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:20 +0000 (08:17 +0200)
commit3aa749b241658727c079cd9f16933ed0e0b55af0
tree9ddee496041de37347c2764a032088786ecb3361
parentc84df638f1083fe4359bf6a4df5b6021948aa7da
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