]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_fpga.c
Improve configuration of FPGA subsystem
[people/ms/u-boot.git] / common / cmd_fpga.c
index 377a692f7dc3b2810500e020df420f91aaee30ee..fb24395b58ae548f5b1094a21f69a03773d5fd0a 100644 (file)
@@ -58,7 +58,7 @@ static int fpga_get_op (char *opstr);
 /* Convert bitstream data and load into the fpga */
 int fpga_loadbitstream(unsigned long dev, char* fpgadata, size_t size)
 {
-#if (CONFIG_FPGA & CFG_FPGA_XILINX)
+#if defined(CONFIG_FPGA_XILINX)
        unsigned int length;
        unsigned char* swapdata;
        unsigned int swapsize;