public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] add image size and descriptors for Spartan 3E FPGA chips
@ 2007-08-07  6:37 Bruce Adler
  2007-08-07 14:45 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Bruce Adler @ 2007-08-07  6:37 UTC (permalink / raw)
  To: u-boot


Spartan 3E image sizes taken from Table 1-4 in Xilinx UG332 (v1.1)

Signed-off by: Bruce Adler <bruce.adler@ccpu.com>

diff -pur a/include/spartan3.h b/include/spartan3.h
--- a/include/spartan3.h        2007-08-06 23:24:11.000000000 -0700
+++ b/include/spartan3.h        2007-08-06 23:23:06.000000000 -0700
@@ -73,6 +73,13 @@ typedef struct {
  #define XILINX_XC3S4000_SIZE   11316864/8
  #define XILINX_XC3S5000_SIZE   13271936/8

+/* Spartan-3E (v3.4) */
+#define        XILINX_XC3S100E_SIZE    581344/8
+#define        XILINX_XC3S250E_SIZE    1353728/8
+#define        XILINX_XC3S500E_SIZE    2270208/8
+#define        XILINX_XC3S1200E_SIZE   3841184/8
+#define        XILINX_XC3S1600E_SIZE   5969696/8
+
  /* Descriptor Macros
   *********************************************************************/
  /* Spartan-II devices */
@@ -100,4 +107,21 @@ typedef struct {
  #define XILINX_XC3S5000_DESC(iface, fn_table, cookie) \
  { Xilinx_Spartan3, iface, XILINX_XC3S5000E_SIZE, fn_table, cookie }

+
+/* Spartan-3E devices */
+#define XILINX_XC3S100E_DESC(iface, fn_table, cookie) \
+{ Xilinx_Spartan3, iface, XILINX_XC3S100E_SIZE, fn_table, cookie }
+
+#define XILINX_XC3S250E_DESC(iface, fn_table, cookie) \
+{ Xilinx_Spartan3, iface, XILINX_XC3S250E_SIZE, fn_table, cookie }
+
+#define XILINX_XC3S500E_DESC(iface, fn_table, cookie) \
+{ Xilinx_Spartan3, iface, XILINX_XC3S500E_SIZE, fn_table, cookie }
+
+#define XILINX_XC3S1200E_DESC(iface, fn_table, cookie) \
+{ Xilinx_Spartan3, iface, XILINX_XC3S1200E_SIZE, fn_table, cookie }
+
+#define XILINX_XC3S1600E_DESC(iface, fn_table, cookie) \
+{ Xilinx_Spartan3, iface, XILINX_XC3S1600E_SIZE, fn_table, cookie }
+
  #endif /* _SPARTAN3_H_ */

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-08-10 22:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-07  6:37 [U-Boot-Users] [PATCH] add image size and descriptors for Spartan 3E FPGA chips Bruce Adler
2007-08-07 14:45 ` Wolfgang Denk
2007-08-07 17:34   ` [U-Boot-Users] [PATCH] repost: " Bruce Adler
2007-08-09 21:15     ` Wolfgang Denk
2007-08-10 21:54       ` Bruce Adler
2007-08-10 22:37         ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox