summaryrefslogtreecommitdiff
path: root/include/ACEX1K.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-11-27 23:11:18 +0100
committerWolfgang Denk <wd@denx.de>2006-11-27 23:11:18 +0100
commitd2c83f549378fb3fc34cb3c2e62fd772fbf8b68b (patch)
treef00383ed01ca18fa0beee4930ebb7f3dc4153e5e /include/ACEX1K.h
parent4f4b602ec7524a032bdf3c6d28c7f525a4a67eaa (diff)
parent1729b92cde575476684bffe819d0b7791b57bff2 (diff)
downloadu-boot-imx-d2c83f549378fb3fc34cb3c2e62fd772fbf8b68b.zip
u-boot-imx-d2c83f549378fb3fc34cb3c2e62fd772fbf8b68b.tar.gz
u-boot-imx-d2c83f549378fb3fc34cb3c2e62fd772fbf8b68b.tar.bz2
Merge with /home/sr/git/u-boot/denx-alpr-merge-test
Diffstat (limited to 'include/ACEX1K.h')
-rw-r--r--include/ACEX1K.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/ACEX1K.h b/include/ACEX1K.h
index f75c463..f249d64 100644
--- a/include/ACEX1K.h
+++ b/include/ACEX1K.h
@@ -35,6 +35,11 @@ extern int ACEX1K_dump( Altera_desc *desc, void *buf, size_t bsize );
extern int ACEX1K_info( Altera_desc *desc );
extern int ACEX1K_reloc( Altera_desc *desc, ulong reloc_off );
+extern int CYC2_load( Altera_desc *desc, void *image, size_t size );
+extern int CYC2_dump( Altera_desc *desc, void *buf, size_t bsize );
+extern int CYC2_info( Altera_desc *desc );
+extern int CYC2_reloc( Altera_desc *desc, ulong reloc_off );
+
/* Slave Serial Implementation function table */
typedef struct {
Altera_pre_fn pre;
@@ -48,6 +53,18 @@ typedef struct {
int relocated;
} Altera_ACEX1K_Passive_Serial_fns;
+/* Slave Serial Implementation function table */
+typedef struct {
+ Altera_pre_fn pre;
+ Altera_config_fn config;
+ Altera_status_fn status;
+ Altera_done_fn done;
+ Altera_write_fn write;
+ Altera_abort_fn abort;
+ Altera_post_fn post;
+ int relocated;
+} Altera_CYC2_Passive_Serial_fns;
+
/* Device Image Sizes
*********************************************************************/
/* ACEX1K */
@@ -60,6 +77,8 @@ typedef struct {
#endif
#define Altera_EP1K100_SIZE (166965*8)
+#define Altera_EP2C35_SIZE 883905
+
/* Descriptor Macros
*********************************************************************/
/* ACEX1K devices */