summaryrefslogtreecommitdiff
path: root/common/cmd_elf.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-08 17:51:39 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-08 17:55:57 -0500
commitbaa26db4113679b80970ff447d91cc10217742a6 (patch)
tree11d17e5e569b792a5971b892f434bbf9d6768826 /common/cmd_elf.c
parentaf075ee96e52dda7b6bca6c937588aeaaec5f2cd (diff)
downloadu-boot-imx-baa26db4113679b80970ff447d91cc10217742a6.zip
u-boot-imx-baa26db4113679b80970ff447d91cc10217742a6.tar.gz
u-boot-imx-baa26db4113679b80970ff447d91cc10217742a6.tar.bz2
common/cmd_[af]*: Remove obsolete references to CONFIG_COMMANDS.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'common/cmd_elf.c')
-rw-r--r--common/cmd_elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_elf.c b/common/cmd_elf.c
index cc8a8da..6d72619 100644
--- a/common/cmd_elf.c
+++ b/common/cmd_elf.c
@@ -23,7 +23,7 @@
DECLARE_GLOBAL_DATA_PTR;
#endif
-#if (CONFIG_COMMANDS & CFG_CMD_ELF) || defined(CONFIG_CMD_ELF)
+#if defined(CONFIG_CMD_ELF)
#ifndef MAX
#define MAX(a,b) ((a) > (b) ? (a) : (b))
@@ -101,7 +101,7 @@ int do_bootvx (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
else
addr = simple_strtoul (argv[1], NULL, 16);
-#if (CONFIG_COMMANDS & CFG_CMD_NET) || defined(CONFIG_CMD_NET)
+#if defined(CONFIG_CMD_NET)
/* Check to see if we need to tftp the image ourselves before starting */
if ((argc == 2) && (strcmp (argv[1], "tftp") == 0)) {