summaryrefslogtreecommitdiff
path: root/common/spartan2.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:38 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:38 +0200
commitd6e9ee92e890f67594ab150689510df361133ead (patch)
treed76987f91295c1e4585130f6d2f43b28fae6fa94 /common/spartan2.c
parentf5acb9fd9bba1160de3ef349c7d33fe510eda286 (diff)
downloadu-boot-imx-d6e9ee92e890f67594ab150689510df361133ead.zip
u-boot-imx-d6e9ee92e890f67594ab150689510df361133ead.tar.gz
u-boot-imx-d6e9ee92e890f67594ab150689510df361133ead.tar.bz2
common: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common/spartan2.c')
-rw-r--r--common/spartan2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/spartan2.c b/common/spartan2.c
index 2f1ea2c..ebac388 100644
--- a/common/spartan2.c
+++ b/common/spartan2.c
@@ -25,8 +25,6 @@
#include <common.h> /* core U-Boot definitions */
#include <spartan2.h> /* Spartan-II device family */
-#if defined(CONFIG_FPGA) && defined(CONFIG_FPGA_SPARTAN2)
-
/* Define FPGA_DEBUG to get debug printf's */
#ifdef FPGA_DEBUG
#define PRINTF(fmt,args...) printf (fmt ,##args)
@@ -663,5 +661,3 @@ static int Spartan2_ss_reloc (Xilinx_desc * desc, ulong reloc_offset)
return ret_val;
}
-
-#endif