]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/nand.h
arm/km: add CONFIG_KM_BOARD_EXTRA_ENV to default environment
[karo-tx-uboot.git] / include / nand.h
index 26190e4137da9ac05c896506f909d230f5f4537d..84116f493722e41d1cd808c2005802ccf07782c0 100644 (file)
@@ -9,16 +9,6 @@
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
  * version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.         See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
  */
 
 #ifndef _NAND_H_
@@ -125,6 +115,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;