]> git.sur5r.net Git - u-boot/blobdiff - common/cmd_diag.c
ColdFire 54455: Fix correct boot location for atmel and intel
[u-boot] / common / cmd_diag.c
index 7293457c5d2e9a865f0d8cffdbefd4ec7f128d31..cb99b7700f7770dd8b014202544bb3e447231119 100644 (file)
@@ -28,7 +28,7 @@
 #include <command.h>
 #include <post.h>
 
-#if ((CONFIG_COMMANDS & CFG_CMD_DIAG) || defined(CONFIG_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