]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/nand.h
dfu, nand: before write a buffer to nand, erase the nand sectors
[karo-tx-uboot.git] / include / nand.h
index 26190e4137da9ac05c896506f909d230f5f4537d..228d87127cae0a42e87230c8c55935148b3799e4 100644 (file)
@@ -125,6 +125,8 @@ struct nand_erase_options {
 
        /* Don't include skipped bad blocks in size to be erased */
        int spread;
+       /* maximum size that actual may be in order to not exceed the buf */
+       loff_t lim;
 };
 
 typedef struct nand_erase_options nand_erase_options_t;