summaryrefslogtreecommitdiff
path: root/common/command.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-08 18:10:08 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-08 18:10:08 -0500
commitc3517f919d0f61650cf3027fd4faf0f631142f6c (patch)
tree182ef6971f28188af968fea9fe74ccc5f594d44a /common/command.c
parentfd9bcaa35be64fe41a4223fdb6ecdbad52470b39 (diff)
downloadu-boot-imx-c3517f919d0f61650cf3027fd4faf0f631142f6c.zip
u-boot-imx-c3517f919d0f61650cf3027fd4faf0f631142f6c.tar.gz
u-boot-imx-c3517f919d0f61650cf3027fd4faf0f631142f6c.tar.bz2
common/* non-cmd*: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'common/command.c')
-rw-r--r--common/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/command.c b/common/command.c
index f8bd16b..361ca62 100644
--- a/common/command.c
+++ b/common/command.c
@@ -42,7 +42,7 @@ U_BOOT_CMD(
NULL
);
-#if (CONFIG_COMMANDS & CFG_CMD_ECHO) || defined(CONFIG_CMD_ECHO)
+#if defined(CONFIG_CMD_ECHO)
int
do_echo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
@@ -409,7 +409,7 @@ void install_auto_complete(void)
{
install_auto_complete_handler("printenv", var_complete);
install_auto_complete_handler("setenv", var_complete);
-#if (CONFIG_COMMANDS & CFG_CMD_RUN) || defined(CONFIG_CMD_RUN)
+#if defined(CONFIG_CMD_RUN)
install_auto_complete_handler("run", var_complete);
#endif
}