summaryrefslogtreecommitdiff
path: root/include/nios2-epcs.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2006-06-14 17:52:00 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-06-14 17:52:00 +0200
commit007d67da94db86989c3d0ad0a9728391b7eed02b (patch)
treeb24a2708448b83ef0b372c1e3502b7908f54d283 /include/nios2-epcs.h
parent16c8d5e76ae0f78f39a60608574adfe0feb9cc70 (diff)
parentdf02bd1b3f2eecca04bfecb62eae7c2ff698506a (diff)
downloadu-boot-imx-007d67da94db86989c3d0ad0a9728391b7eed02b.zip
u-boot-imx-007d67da94db86989c3d0ad0a9728391b7eed02b.tar.gz
u-boot-imx-007d67da94db86989c3d0ad0a9728391b7eed02b.tar.bz2
Merge with /home/wd/git/u-boot/master
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 2c9522c..20e0c87 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.
*/