Browse Source

Merge branch 'mxc-nand' of git://git.pengutronix.de/git/imx/linux-2.6

David Woodhouse 16 years ago
parent
commit
9617876965
2 changed files with 296 additions and 445 deletions
  1. 2 1
      arch/arm/plat-mxc/include/mach/mxc_nand.h
  2. 294 444
      drivers/mtd/nand/mxc_nand.c

+ 2 - 1
arch/arm/plat-mxc/include/mach/mxc_nand.h

@@ -22,6 +22,7 @@
 
 struct mxc_nand_platform_data {
 	int width;	/* data bus width in bytes */
-	int hw_ecc;	/* 0 if supress hardware ECC */
+	int hw_ecc:1;	/* 0 if supress hardware ECC */
+	int flash_bbt:1; /* set to 1 to use a flash based bbt */
 };
 #endif /* __ASM_ARCH_NAND_H */

File diff suppressed because it is too large
+ 294 - 444
drivers/mtd/nand/mxc_nand.c


Some files were not shown because too many files changed in this diff