ppc4xx: Add Canyonlands NAND booting support
[platform/kernel/u-boot.git] / common / virtex2.c
index 8405069..1283ff6 100644 (file)
 #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
-#endif 
+#endif
 
 #ifdef FPGA_DEBUG
 #define        PRINTF(fmt,args...)     printf (fmt ,##args)