X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2Fnand.h;h=84116f493722e41d1cd808c2005802ccf07782c0;hb=56cde17760deacc45866cdc6a2248d0fc245026d;hp=26190e4137da9ac05c896506f909d230f5f4537d;hpb=41341221d12341a2ecfb280142d6478071738fc2;p=karo-tx-uboot.git diff --git a/include/nand.h b/include/nand.h index 26190e4137..84116f4937 100644 --- a/include/nand.h +++ b/include/nand.h @@ -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;