summaryrefslogtreecommitdiff
path: root/common/cmd_reginfo.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-08 18:05:39 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-08 18:05:39 -0500
commitfd9bcaa35be64fe41a4223fdb6ecdbad52470b39 (patch)
tree0da6aae913bebfb7214e9b8f31955fbf6f574d3b /common/cmd_reginfo.c
parentc76fe47425afc7d5d670ff0539823c85d65d9c42 (diff)
downloadu-boot-imx-fd9bcaa35be64fe41a4223fdb6ecdbad52470b39.zip
u-boot-imx-fd9bcaa35be64fe41a4223fdb6ecdbad52470b39.tar.gz
u-boot-imx-fd9bcaa35be64fe41a4223fdb6ecdbad52470b39.tar.bz2
common/cmd_[p-x]*: Remove obsolete references to CONFIG_COMMANDS.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'common/cmd_reginfo.c')
-rw-r--r--common/cmd_reginfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/cmd_reginfo.c b/common/cmd_reginfo.c
index 57de0fe..17e9cd9 100644
--- a/common/cmd_reginfo.c
+++ b/common/cmd_reginfo.c
@@ -33,7 +33,7 @@
#include <mpc5xxx.h>
#endif
-#if (CONFIG_COMMANDS & CFG_CMD_REGINFO) || defined(CONFIG_CMD_REGINFO)
+#if defined(CONFIG_CMD_REGINFO)
int do_reginfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
@@ -335,14 +335,14 @@ int do_reginfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return 0;
}
-#endif /* CONFIG_COMMANDS & CFG_CMD_REGINFO */
+#endif
/**************************************************/
#if ( defined(CONFIG_8xx) || defined(CONFIG_405GP) || \
defined(CONFIG_405EP) || defined(CONFIG_MPC5200) ) && \
- ((CONFIG_COMMANDS & CFG_CMD_REGINFO) || defined(CONFIG_CMD_REGINFO))
+ defined(CONFIG_CMD_REGINFO)
U_BOOT_CMD(
reginfo, 2, 1, do_reginfo,