summaryrefslogtreecommitdiff
path: root/arch/arm/mach-socfpga/include
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-07-09 04:27:28 +0200
committerMarek Vasut <marex@denx.de>2015-08-08 14:14:06 +0200
commit3191611a05df993826a0d2d0d5607e5e38365cce (patch)
treeb9ef5762f0f672dcb8228549e15ba6f8ab89bca1 /arch/arm/mach-socfpga/include
parent292260ca21723ab78d23fa2cf6b574cf17778991 (diff)
downloadu-boot-imx-3191611a05df993826a0d2d0d5607e5e38365cce.zip
u-boot-imx-3191611a05df993826a0d2d0d5607e5e38365cce.tar.gz
u-boot-imx-3191611a05df993826a0d2d0d5607e5e38365cce.tar.bz2
arm: socfpga: reset: Add function to reset add peripherals
Add socfpga_per_reset_all() function to reset all peripherals but the L4 watchdog. This is needed in the SPL. Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/arm/mach-socfpga/include')
-rw-r--r--arch/arm/mach-socfpga/include/mach/reset_manager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/reset_manager.h b/arch/arm/mach-socfpga/include/mach/reset_manager.h
index 97f155d..457c4b8 100644
--- a/arch/arm/mach-socfpga/include/mach/reset_manager.h
+++ b/arch/arm/mach-socfpga/include/mach/reset_manager.h
@@ -13,6 +13,7 @@ void reset_deassert_peripherals_handoff(void);
void socfpga_bridges_reset(int enable);
void socfpga_per_reset(u32 reset, int set);
+void socfpga_per_reset_all(void);
struct socfpga_reset_manager {
u32 status;