aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_fpga.c
diff options
context:
space:
mode:
authorGrant Likely2007-09-24 09:05:31 -0600
committerGrant Likely2007-11-20 22:33:54 -0700
commit4a43719a7738712811d822ca8125427b27a55cdc (patch)
tree8043a3f013ff7341a8394b81f72626bca3378ef2 /common/cmd_fpga.c
parent2f155f6c0a1f5e9a306a3f1f4fbe067db7ced3b1 (diff)
[BUILD] conditionally compile common/cmd_*.c in common/Makefile
Modify common/Makefile to conditionally compile the cmd_*.c files based on the board config. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'common/cmd_fpga.c')
-rw-r--r--common/cmd_fpga.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/common/cmd_fpga.c b/common/cmd_fpga.c
index cce23ad70d7..377a692f7dc 100644
--- a/common/cmd_fpga.c
+++ b/common/cmd_fpga.c
@@ -43,8 +43,6 @@
#define PRINTF(fmt,args...)
#endif
-#if defined (CONFIG_FPGA) && defined(CONFIG_CMD_FPGA)
-
/* Local functions */
static void fpga_usage (cmd_tbl_t * cmdtp);
static int fpga_get_op (char *opstr);
@@ -321,4 +319,3 @@ U_BOOT_CMD (fpga, 6, 1, do_fpga,
"\tloadb\tLoad device from bitstream buffer (Xilinx devices only)\n"
"\tloadmk\tLoad device generated with mkimage\n"
"\tdump\tLoad device to memory buffer\n");
-#endif