aboutsummaryrefslogtreecommitdiff
path: root/include/spartan3.h
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2011-12-28 06:47:00 +0000
committerWolfgang Denk <wd@denx.de>2012-01-05 16:18:30 +0100
commit28cdc1c8e2682a008c8da15ce8fa153f6f01ea95 (patch)
tree10161f89f3342c4615d39fcd51171295cff85fc6 /include/spartan3.h
parentb6abf55578d36d0304d8af9a13a58ca13b9066b7 (diff)
fpga: add definition for Xilinx Spartan-6 XC6SLX4
Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include/spartan3.h')
-rw-r--r--include/spartan3.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/spartan3.h b/include/spartan3.h
index 67ede4b1d..89f115694 100644
--- a/include/spartan3.h
+++ b/include/spartan3.h
@@ -80,6 +80,12 @@ typedef struct {
#define XILINX_XC3S1200E_SIZE 3841184/8
#define XILINX_XC3S1600E_SIZE 5969696/8
+/*
+ * Spartan-6 : the Spartan-6 family can be programmed
+ * exactly as the Spartan-3
+ */
+#define XILINK_XC6SLX4_SIZE (3713568/8)
+
/* Descriptor Macros
*********************************************************************/
/* Spartan-III devices */
@@ -123,4 +129,7 @@ typedef struct {
#define XILINX_XC3S1600E_DESC(iface, fn_table, cookie) \
{ Xilinx_Spartan3, iface, XILINX_XC3S1600E_SIZE, fn_table, cookie }
+#define XILINX_XC6SLX4_DESC(iface, fn_table, cookie) \
+{ Xilinx_Spartan3, iface, XILINK_XC6SLX4_SIZE, fn_table, cookie }
+
#endif /* _SPARTAN3_H_ */