summaryrefslogtreecommitdiffstats
path: root/common/cmd_fpga.c
diff options
context:
space:
mode:
authorMatthias Fuchs <matthias.fuchs@esd-electronics.com>2007-12-27 17:12:34 +0100
committerWolfgang Denk <wd@denx.de>2008-01-09 13:34:20 +0100
commit0133502e39ff89b67c26cb4015e0e7e8d9571184 (patch)
tree06bb9976f4f4ef9cb470b57f6271e86c7d09c2fb /common/cmd_fpga.c
parent95c6bc7d4a3588b452baca610f8c795a83630477 (diff)
downloadtalos-obmc-uboot-0133502e39ff89b67c26cb4015e0e7e8d9571184.tar.gz
talos-obmc-uboot-0133502e39ff89b67c26cb4015e0e7e8d9571184.zip
Improve configuration of FPGA subsystem
This patch removes the FPGA subsystem configuration through the CONFIG_FPGA bitmask configuration option. See README for the new options: CONFIG_FPGA, CONFIG_FPGA_<vendor>, CONFIG_FPGA_<family> Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Diffstat (limited to 'common/cmd_fpga.c')
-rw-r--r--common/cmd_fpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_fpga.c b/common/cmd_fpga.c
index 377a692f7d..fb24395b58 100644
--- a/common/cmd_fpga.c
+++ b/common/cmd_fpga.c
@@ -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;
OpenPOWER on IntegriCloud