diff options
author | Matthias Fuchs <matthias.fuchs@esd-electronics.com> | 2007-12-27 17:12:34 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-01-09 13:34:20 +0100 |
commit | 0133502e39ff89b67c26cb4015e0e7e8d9571184 (patch) | |
tree | 06bb9976f4f4ef9cb470b57f6271e86c7d09c2fb /common/spartan3.c | |
parent | 95c6bc7d4a3588b452baca610f8c795a83630477 (diff) | |
download | u-boot-imx-0133502e39ff89b67c26cb4015e0e7e8d9571184.zip u-boot-imx-0133502e39ff89b67c26cb4015e0e7e8d9571184.tar.gz u-boot-imx-0133502e39ff89b67c26cb4015e0e7e8d9571184.tar.bz2 |
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/spartan3.c')
-rw-r--r-- | common/spartan3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spartan3.c b/common/spartan3.c index f7c4f8c..17379eb 100644 --- a/common/spartan3.c +++ b/common/spartan3.c @@ -30,7 +30,7 @@ #include <common.h> /* core U-Boot definitions */ #include <spartan3.h> /* Spartan-II device family */ -#if (CONFIG_FPGA & (CFG_XILINX | CFG_SPARTAN3)) +#if defined(CONFIG_FPGA) && defined(CONFIG_FPGA_SPARTAN3) /* Define FPGA_DEBUG to get debug printf's */ #ifdef FPGA_DEBUG |