summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-socfpga
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2014-09-08 12:08:45 (GMT)
committerMarek Vasut <marex@denx.de>2014-10-06 15:46:50 (GMT)
commitabb25f4e9529c1b91d651c74af9bd3f1c955437b (patch)
tree04228a250bddd8859685c473fe6fdcee05ee5252 /arch/arm/include/asm/arch-socfpga
parent230fe9b202ff0ca396ad9a564816cc87d42daa6e (diff)
downloadu-boot-abb25f4e9529c1b91d651c74af9bd3f1c955437b.tar.xz
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 <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Tom Rini <trini@ti.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Pavel Machek <pavel@denx.de> Acked-by: Pavel Machek <pavel@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-socfpga')
-rw-r--r--arch/arm/include/asm/arch-socfpga/reset_manager.h2
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 3c5ab40..1857b80 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);