]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/spartan3.c
Improve configuration of FPGA subsystem
[karo-tx-uboot.git] / common / spartan3.c
index f7c4f8cf2b24aa9e70110d68440198449d8c01b8..17379eb8b1e16b31fbb5065fecd3c2ce650dfbc2 100644 (file)
@@ -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