]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/docecc.c
Add MACH_TYPE records for several AT91 boards.
[karo-tx-uboot.git] / common / docecc.c
index 79adb48958e8a13affa8497582cf1968874541c5..5daa6fc4054854ebd2b1ac456c084c5e0e223fca 100644 (file)
@@ -31,7 +31,7 @@
 #undef ECC_DEBUG
 #undef PSYCHO_DEBUG
 
-#if (CONFIG_COMMANDS & CFG_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