summaryrefslogtreecommitdiff
path: root/include/altera.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/altera.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/altera.h')
-rw-r--r--include/altera.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/altera.h b/include/altera.h
index 74b6729..7b8cb4a 100644
--- a/include/altera.h
+++ b/include/altera.h
@@ -34,8 +34,10 @@
/* Altera Model definitions
*********************************************************************/
#define CFG_ACEX1K CFG_FPGA_DEV( 0x1 )
+#define CFG_CYCLON2 CFG_FPGA_DEV( 0x2 )
#define CFG_ALTERA_ACEX1K (CFG_FPGA_ALTERA | CFG_ACEX1K)
+#define CFG_ALTERA_CYCLON2 (CFG_FPGA_ALTERA | CFG_CYCLON2)
/* Add new models here */
/* Altera Interface definitions
@@ -56,6 +58,7 @@ typedef enum { /* typedef Altera_iface */
typedef enum { /* typedef Altera_Family */
min_altera_type, /* insert all new types after this */
Altera_ACEX1K, /* ACEX1K Family */
+ Altera_CYC2, /* CYCLONII Family */
/* Add new models here */
max_altera_type /* insert all new types before this */
} Altera_Family; /* end, typedef Altera_Family */
@@ -84,6 +87,7 @@ typedef int (*Altera_status_fn)( int cookie );
typedef int (*Altera_done_fn)( int cookie );
typedef int (*Altera_clk_fn)( int assert_clk, int flush, int cookie );
typedef int (*Altera_data_fn)( int assert_data, int flush, int cookie );
+typedef int (*Altera_write_fn)(void *buf, size_t len, int flush, int cookie);
typedef int (*Altera_abort_fn)( int cookie );
typedef int (*Altera_post_fn)( int cookie );