diff options
Diffstat (limited to 'common/virtex2.c')
-rw-r--r-- | common/virtex2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/virtex2.c b/common/virtex2.c index b5dc366aad3..1283ff610d8 100644 --- a/common/virtex2.c +++ b/common/virtex2.c @@ -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 |