]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_doc.c
Update MTD to that of Linux 2.6.22.1
[people/ms/u-boot.git] / common / cmd_doc.c
index d7b2f535f3d5b11825082d50ee156c42977302b5..9d5b3001cc9db7387dd0159e118bc18c96b35a22 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/mtd/nftl.h>
 #include <linux/mtd/doc2000.h>
 
+#if 0
 #ifdef CFG_DOC_SUPPORT_2000
 #define DoC_is_2000(doc) (doc->ChipID == DOC_ChipID_Doc2k)
 #else
@@ -1629,3 +1630,6 @@ void doc_probe(unsigned long physadr)
                puts ("No DiskOnChip found\n");
        }
 }
+#else
+void doc_probe(unsigned long physadr) {}
+#endif