summaryrefslogtreecommitdiff
path: root/common/spartan3.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/spartan3.c')
-rw-r--r--common/spartan3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spartan3.c b/common/spartan3.c
index f7c4f8c..17379eb 100644
--- a/common/spartan3.c
+++ b/common/spartan3.c
@@ -30,7 +30,7 @@
#include <common.h> /* core U-Boot definitions */
#include <spartan3.h> /* Spartan-II device family */
-#if (CONFIG_FPGA & (CFG_XILINX | CFG_SPARTAN3))
+#if defined(CONFIG_FPGA) && defined(CONFIG_FPGA_SPARTAN3)
/* Define FPGA_DEBUG to get debug printf's */
#ifdef FPGA_DEBUG