]> git.sur5r.net Git - u-boot/blobdiff - common/docecc.c
ppc4xx: 405EX: Correctly enable USB pins
[u-boot] / common / docecc.c
index d9c7a4133d449c43e2256ca0c46370d6c77979f7..5daa6fc4054854ebd2b1ac456c084c5e0e223fca 100644 (file)
@@ -31,7 +31,7 @@
 #undef ECC_DEBUG
 #undef PSYCHO_DEBUG
 
-#if (CONFIG_COMMANDS & CFG_CMD_DOC) || defined(CONFIG_CMD_DOC)
+#if defined(CONFIG_CMD_DOC)
 
 #include <linux/mtd/doc2000.h>
 
@@ -514,4 +514,4 @@ int doc_decode_ecc(unsigned char sector[SECTOR_SIZE], unsigned char ecc1[6])
     return nb_errors;
 }
 
-#endif /* (CONFIG_COMMANDS & CFG_CMD_DOC) */
+#endif