diff options
author | Marek Vasut <marex@denx.de> | 2015-07-09 02:45:15 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 14:14:06 +0200 |
commit | bdfc2ef64a4df550a4090c31dae9a133c92ac5ca (patch) | |
tree | b0218a9d202022315bc7c69b9dd3ca3f493305cb /arch/arm/mach-socfpga/include | |
parent | 1115cd2de76bf698b0e621c0c71e4a2cd5ab3b2a (diff) |
arm: socfpga: reset: Implement unified function to toggle reset
Implement function socfpga_per_reset(), which allows asserting or
de-asserting reset of each reset manager peripheral in a unified
manner. Use this function throughout reset manager.
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.h | 2 |
1 files changed, 2 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 fff4c9614a..56509c2c3f 100644 --- a/arch/arm/mach-socfpga/include/mach/reset_manager.h +++ b/arch/arm/mach-socfpga/include/mach/reset_manager.h @@ -12,6 +12,8 @@ void reset_deassert_peripherals_handoff(void); void socfpga_bridges_reset(int enable); +void socfpga_per_reset(u32 reset, int set); + void socfpga_emac_reset(int enable); void socfpga_watchdog_reset(void); void socfpga_spim_enable(void); |