]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/nand.h
karo: tx51: reduce DDR clock to 166 MHz for TX51-8xx1
[karo-tx-uboot.git] / include / nand.h
index 26190e4137da9ac05c896506f909d230f5f4537d..2b62ef777e7df87917194f79bb6b7a8db037daf1 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_
@@ -32,7 +22,7 @@
  * converted, this will go away.
  */
 #if defined(CONFIG_NAND_FSL_ELBC) || defined(CONFIG_NAND_ATMEL)\
-       || defined(CONFIG_NAND_FSL_IFC)
+       || defined(CONFIG_NAND_FSL_IFC) || defined(CONFIG_NAND_MXC)
 #define CONFIG_SYS_NAND_SELF_INIT
 #endif
 
@@ -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;