X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fnand.h;h=ed4ba8d2b609d4dc0bdb1d65bba4d45e5fae32d3;hb=d78959937f586e326b63dc2ed2ee47283366c264;hp=26190e4137da9ac05c896506f909d230f5f4537d;hpb=dfe64e2c89731a3f9950d7acd8681b68df2bae03;p=u-boot diff --git a/include/nand.h b/include/nand.h index 26190e4137..ed4ba8d2b6 100644 --- a/include/nand.h +++ b/include/nand.h @@ -8,17 +8,7 @@ * * 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 + * version 2 as published by the Free Software Foundation. */ #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;