diff options
author | Jon Loeliger <jdl@freescale.com> | 2007-07-08 18:10:08 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-07-08 18:10:08 -0500 |
commit | c3517f919d0f61650cf3027fd4faf0f631142f6c (patch) | |
tree | 182ef6971f28188af968fea9fe74ccc5f594d44a /common/command.c | |
parent | fd9bcaa35be64fe41a4223fdb6ecdbad52470b39 (diff) | |
download | u-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.c | 4 |
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 } |