aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-socfpga/include/mach/reset_manager.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-05-20 09:44:05 -0400
committerTom Rini <trini@konsulko.com>2018-05-20 09:44:05 -0400
commit904e546970184d9f5b7e1bde7065b745e67a1bef (patch)
tree5873f1c17c89a7db365841e989dc71e22bf09f75 /arch/arm/mach-socfpga/include/mach/reset_manager.h
parent855ff8e6dd58b01930d8b8b726e65310d546a0c9 (diff)
parent00f7ae6138ad8b9d859a70d022161297b1bb8049 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-socfpga
Diffstat (limited to 'arch/arm/mach-socfpga/include/mach/reset_manager.h')
-rw-r--r--arch/arm/mach-socfpga/include/mach/reset_manager.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/reset_manager.h b/arch/arm/mach-socfpga/include/mach/reset_manager.h
index 7cfed7d001..d9e0b33c60 100644
--- a/arch/arm/mach-socfpga/include/mach/reset_manager.h
+++ b/arch/arm/mach-socfpga/include/mach/reset_manager.h
@@ -10,12 +10,10 @@ void reset_cpu(ulong addr);
void socfpga_per_reset(u32 reset, int set);
void socfpga_per_reset_all(void);
+int socfpga_eth_reset_common(void (*resetfn)(const u8 of_reset_id,
+ const u8 phymode));
-#if defined(CONFIG_SOCFPGA_VIRTUAL_TARGET)
-#define RSTMGR_CTRL_SWWARMRSTREQ_LSB 2
-#else
#define RSTMGR_CTRL_SWWARMRSTREQ_LSB 1
-#endif
/*
* Define a reset identifier, from which a permodrst bank ID
@@ -44,6 +42,8 @@ void socfpga_per_reset_all(void);
#include <asm/arch/reset_manager_gen5.h>
#elif defined(CONFIG_TARGET_SOCFPGA_ARRIA10)
#include <asm/arch/reset_manager_arria10.h>
+#elif defined(CONFIG_TARGET_SOCFPGA_STRATIX10)
+#include <asm/arch/reset_manager_s10.h>
#endif
#endif /* _RESET_MANAGER_H_ */