path: root/arch/arm/include
diff options
authorMarek Vasut <>2014-09-08 14:08:45 +0200
committerMarek Vasut <>2014-10-06 17:46:50 +0200
commitabb25f4e9529c1b91d651c74af9bd3f1c955437b (patch)
tree04228a250bddd8859685c473fe6fdcee05ee5252 /arch/arm/include
parent230fe9b202ff0ca396ad9a564816cc87d42daa6e (diff)
arm: socfpga: reset: Add function to reset FPGA bridges
Add function to enable and disable FPGA bridges. This code is used by the FPGA manager to disable the bridges before programming the FPGA and will later be also used by the initialization code for the chip to put the chip into well defined state during startup. Signed-off-by: Marek Vasut <> Cc: Chin Liang See <> Cc: Dinh Nguyen <> Cc: Albert Aribaud <> Cc: Tom Rini <> Cc: Wolfgang Denk <> Cc: Pavel Machek <> Acked-by: Pavel Machek <>
Diffstat (limited to 'arch/arm/include')
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-socfpga/reset_manager.h b/arch/arm/include/asm/arch-socfpga/reset_manager.h
index 3c5ab401e1..1857b80b3e 100644
--- a/arch/arm/include/asm/arch-socfpga/reset_manager.h
+++ b/arch/arm/include/asm/arch-socfpga/reset_manager.h
@@ -10,6 +10,8 @@
void reset_cpu(ulong addr);
void reset_deassert_peripherals_handoff(void);
+void socfpga_bridges_reset(int enable);
void socfpga_emac_reset(int enable);
void socfpga_watchdog_reset(void);
OpenPOWER on IntegriCloud