diff options
Diffstat (limited to 'common/spartan2.c')
-rw-r--r-- | common/spartan2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spartan2.c b/common/spartan2.c index 06550b9858..457009f858 100644 --- a/common/spartan2.c +++ b/common/spartan2.c @@ -25,7 +25,7 @@ #include <common.h> /* core U-Boot definitions */ #include <spartan2.h> /* Spartan-II device family */ -#if (CONFIG_FPGA & (CFG_XILINX | CFG_SPARTAN2)) +#if defined(CONFIG_FPGA) && defined(CONFIG_FPGA_SPARTAN2) /* Define FPGA_DEBUG to get debug printf's */ #ifdef FPGA_DEBUG |