Nios II - Add EPCS Controller bootrom work-around
[oweals/u-boot.git] / include / nios2-epcs.h
index 2c9522cfd8975684d3239353a04fe132f47cbdac..20e0c87c89f91ee556ce3574dd3c63f8a20b097e 100644 (file)
@@ -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.
  */