diff options
| author | Heiko Schocher <[email protected]> | 2006-04-20 12:49:05 +0200 |
|---|---|---|
| committer | Heiko Schocher <[email protected]> | 2006-04-20 12:49:05 +0200 |
| commit | 7fd392c2d0b27e372a1771e0bda877820b30d6e0 (patch) | |
| tree | 71222692aef61104cb12e504846e354bc83a6555 /include | |
| parent | 60e270a4903b3379d6859418d99aeef1d0d0cdff (diff) | |
* Add EPCS Controller bootrom work-around for Nios-II
Patch from Scott McNutt 11, Aug 2005
-When booting from an epcs controller, the epcs bootrom may leave the
slave select in an asserted state causing soft reset hang. This
patch ensures slave select is negated at reset.
Diffstat (limited to 'include')
| -rw-r--r-- | include/nios2-epcs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/nios2-epcs.h b/include/nios2-epcs.h index 2c9522cfd89..20e0c87c89f 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. */ |
