summaryrefslogtreecommitdiffstats
path: root/common/cmd_diag.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-08-21 16:33:33 +0200
committerStefan Roese <sr@denx.de>2007-08-21 16:33:33 +0200
commit93f798346033a1f6d22090b47abad4be88243b04 (patch)
tree45b4d2a887a89572015de3234b04b419bfc11b44 /common/cmd_diag.c
parent3ad63878737a5a2b1e60825bf0a7d601d7a695e7 (diff)
parent3e66c078003607a7d1d214c15a5f262bc1b4032f (diff)
downloadtalos-obmc-uboot-93f798346033a1f6d22090b47abad4be88243b04.tar.gz
talos-obmc-uboot-93f798346033a1f6d22090b47abad4be88243b04.zip
Merge with /home/stefan/git/u-boot/u-boot-ppc4xx
Diffstat (limited to 'common/cmd_diag.c')
-rw-r--r--common/cmd_diag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_diag.c b/common/cmd_diag.c
index 45c4b31f5f..cb99b7700f 100644
--- a/common/cmd_diag.c
+++ b/common/cmd_diag.c
@@ -28,7 +28,7 @@
#include <command.h>
#include <post.h>
-#if (CONFIG_COMMANDS & CFG_CMD_DIAG) && defined(CONFIG_POST)
+#if defined(CONFIG_CMD_DIAG) && defined(CONFIG_POST)
int do_diag (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
{
@@ -77,4 +77,4 @@ U_BOOT_CMD(
" - run specified tests\n"
);
-#endif /* CFG_CMD_DIAG */
+#endif
OpenPOWER on IntegriCloud