ppc4xx: Add Canyonlands NAND booting support
[platform/kernel/u-boot.git] / common / virtex2.c
index b5dc366..1283ff6 100644 (file)
@@ -31,7 +31,7 @@
 #include <common.h>
 #include <virtex2.h>
 
-#if (CONFIG_FPGA & (CFG_XILINX | CFG_VIRTEX2))
+#if defined(CONFIG_FPGA) && defined(CONFIG_FPGA_VIRTEX2)
 
 #if 0
 #define FPGA_DEBUG