]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/docecc.c
Blackfin: use common strmhz() in system output
[people/ms/u-boot.git] / common / docecc.c
index 5daa6fc4054854ebd2b1ac456c084c5e0e223fca..3412affc795a6b0d319553a4982f8f5991a819b5 100644 (file)
@@ -31,8 +31,6 @@
 #undef ECC_DEBUG
 #undef PSYCHO_DEBUG
 
-#if defined(CONFIG_CMD_DOC)
-
 #include <linux/mtd/doc2000.h>
 
 /* need to undef it (from asm/termbits.h) */
@@ -513,5 +511,3 @@ int doc_decode_ecc(unsigned char sector[SECTOR_SIZE], unsigned char ecc1[6])
     free(Index_of);
     return nb_errors;
 }
-
-#endif