X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fdocecc.c;h=3412affc795a6b0d319553a4982f8f5991a819b5;hb=afac8b07172d7e4a65f86ce1ec4c783a6165ba1f;hp=5daa6fc4054854ebd2b1ac456c084c5e0e223fca;hpb=d61ea14885631e58a25feaa81ee82eb464c62d6a;p=u-boot diff --git a/common/docecc.c b/common/docecc.c index 5daa6fc405..3412affc79 100644 --- a/common/docecc.c +++ b/common/docecc.c @@ -31,8 +31,6 @@ #undef ECC_DEBUG #undef PSYCHO_DEBUG -#if defined(CONFIG_CMD_DOC) - #include /* 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