]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: socfpga: reset: Start reworking the SoCFPGA reset manager
authorMarek Vasut <marex@denx.de>
Thu, 9 Jul 2015 00:30:35 +0000 (02:30 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:20 +0000 (08:17 +0200)
commitb13dc4bbac77813db7349ef8176d64876bacc19e
tree471af72844a5c6997aac43d0139e06c1d00202b3
parent19747202bc365f84224d91f002cef6549f5c238b
arm: socfpga: reset: Start reworking the SoCFPGA reset manager

Implement macro SOCFPGA_RESET(name), which produces an abstract
reset number. Implement macros which allow extracting the reset
offset in permodrstN register and which permodrstN register the
reset is located in from this abstract reset number. Use these
macros throughout the reset manager.

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