X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fspartan3.h;h=89f115694d1a8eb0096f06f9e52bcbe7f9069d69;hb=a7bc914446b46407bb478d4c7b6cb616e1cddb49;hp=67ede4b1d63c6cc3f6b9ab5afa60c850d63e24ce;hpb=e6a857da746d5d7d450e59c0f86664c6b279b1c2;p=oweals%2Fu-boot.git diff --git a/include/spartan3.h b/include/spartan3.h index 67ede4b1d6..89f115694d 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_ */