]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/nand.h
NAND: add the ability to directly write yaffs image
[people/ms/u-boot.git] / include / nand.h
index a4524113d00e60f7f6b30acc4c4fff263fc39e62..7459bd0330a1b16f9153b8e1ee3dc2134739bf63 100644 (file)
@@ -115,7 +115,7 @@ typedef struct nand_erase_options nand_erase_options_t;
 int nand_read_skip_bad(nand_info_t *nand, loff_t offset, size_t *length,
                       u_char *buffer);
 int nand_write_skip_bad(nand_info_t *nand, loff_t offset, size_t *length,
-                       u_char *buffer);
+                       u_char *buffer, int withoob);
 int nand_erase_opts(nand_info_t *meminfo, const nand_erase_options_t *opts);
 
 #define NAND_LOCK_STATUS_TIGHT 0x01