aboutsummaryrefslogtreecommitdiffstats
path: root/include/nios2-epcs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/nios2-epcs.h')
-rw-r--r--include/nios2-epcs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/nios2-epcs.h b/include/nios2-epcs.h
index 2c9522cfd8..20e0c87c89 100644
--- a/include/nios2-epcs.h
+++ b/include/nios2-epcs.h
@@ -38,6 +38,11 @@ typedef struct epcs_devinfo_t {
unsigned char prot_mask; /* Protection mask */
}epcs_devinfo_t;
+/* Resets the epcs controller -- to prevent (potential) soft-reset
+ * problems when booting from the epcs controller
+ */
+extern int epcs_reset (void);
+
/* Returns the devinfo struct if EPCS device is found;
* NULL otherwise.
*/