[U-Boot] [PATCH] Fix Spartan-3 definitions.

Laurent Pinchart laurentp at cse-semaphore.com
Wed Sep 17 17:57:34 CEST 2008


A few Spartan-3 definitions erroneously use Spartan-3E size constants. This
patch fixes them.

Signed-off-by: Laurent Pinchart <laurentp at cse-semaphore.com>
---
 include/spartan3.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/spartan3.h b/include/spartan3.h
index c203eeb..235dbc0 100644
--- a/include/spartan3.h
+++ b/include/spartan3.h
@@ -103,13 +103,13 @@ typedef struct {
 { Xilinx_Spartan3, iface, XILINX_XC3S1500_SIZE, fn_table, cookie }
 
 #define XILINX_XC3S2000_DESC(iface, fn_table, cookie) \
-{ Xilinx_Spartan3, iface, XILINX_XC3S2000E_SIZE, fn_table, cookie }
+{ Xilinx_Spartan3, iface, XILINX_XC3S2000_SIZE, fn_table, cookie }
 
 #define XILINX_XC3S4000_DESC(iface, fn_table, cookie) \
-{ Xilinx_Spartan3, iface, XILINX_XC3S4000E_SIZE, fn_table, cookie }
+{ Xilinx_Spartan3, iface, XILINX_XC3S4000_SIZE, fn_table, cookie }
 
 #define XILINX_XC3S5000_DESC(iface, fn_table, cookie) \
-{ Xilinx_Spartan3, iface, XILINX_XC3S5000E_SIZE, fn_table, cookie }
+{ Xilinx_Spartan3, iface, XILINX_XC3S5000_SIZE, fn_table, cookie }
 
 
 /* Spartan-3E devices */
-- 
1.5.0


-- 
Laurent Pinchart
CSE Semaphore Belgium

Chaussee de Bruxelles, 732A
B-1410 Waterloo
Belgium

T +32 (2) 387 42 59
F +32 (2) 387 42 75


More information about the U-Boot mailing list