projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TI DaVinci DM646x: Adding initial support for DM6467 EVM
[oweals/u-boot.git]
/
include
/
nios2-epcs.h
diff --git
a/include/nios2-epcs.h
b/include/nios2-epcs.h
index 2c9522cfd8975684d3239353a04fe132f47cbdac..325cf71f67159a526a3c412903ac7b2ca0050fd1 100644
(file)
--- a/
include/nios2-epcs.h
+++ b/
include/nios2-epcs.h
@@
-29,7
+29,7
@@
#define __NIOS2_EPCS_H__
typedef struct epcs_devinfo_t {
#define __NIOS2_EPCS_H__
typedef struct epcs_devinfo_t {
- const char *name; /* Device name */
+ const char *name; /* Device name */
unsigned char id; /* Device silicon id */
unsigned char size; /* Total size log2(bytes)*/
unsigned char num_sects; /* Number of sectors */
unsigned char id; /* Device silicon id */
unsigned char size; /* Total size log2(bytes)*/
unsigned char num_sects; /* Number of sectors */
@@
-38,6
+38,11
@@
typedef struct epcs_devinfo_t {
unsigned char prot_mask; /* Protection mask */
}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.
*/
/* Returns the devinfo struct if EPCS device is found;
* NULL otherwise.
*/