]> git.dujemihanovic.xyz Git - u-boot.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)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:06 +0000 (14:14 +0200)
commit1115cd2de76bf698b0e621c0c71e4a2cd5ab3b2a
treea3e74c1c9aa9517401e4c0b6ffc34f80cc23fb59
parent8d009e4542e88b511bab1ce194ba3b04c5c0f6ae
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