]> 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 45c4b31f5fa19b94d98e88f880f549c3335b2888..cb99b7700f7770dd8b014202544bb3e447231119 100644 (file)
@@ -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