]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_doc.c
nand: Change NAND_MAX_OOBSIZE to 218 as needed for some 4k page devices
[karo-tx-uboot.git] / common / cmd_doc.c
index e2d4a42d1dc5c71a8ca7fabfef9bdab8d963ff65..5cc90f064d925e21bbe570fe17e33de0de37fb42 100644 (file)
 #include <linux/mtd/nftl.h>
 #include <linux/mtd/doc2000.h>
 
+#error This code is broken and will be removed outright in the next release.
+#error If you need diskonchip support, please update the Linux driver in
+#error drivers/mtd/nand/diskonchip.c to work with u-boot.
+
 /*
  * ! BROKEN !
  *
@@ -198,7 +202,7 @@ U_BOOT_CMD(
        "doc write addr off size - read/write `size'"
        " bytes starting at offset `off'\n"
        "    to/from memory address `addr'\n"
-       "doc erase off size - erase `size' bytes of DOC from offset `off'\n"
+       "doc erase off size - erase `size' bytes of DOC from offset `off'"
 );
 
 int do_docboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
@@ -338,7 +342,7 @@ int do_docboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        docboot,        4,      1,      do_docboot,
        "boot from DOC device",
-       "loadAddr dev\n"
+       "loadAddr dev"
 );
 
 int doc_rw (struct DiskOnChip* this, int cmd,