]> err.no Git - linux-2.6/blobdiff - include/asm-arm/plat-s3c/nand.h
loopback: Drop obsolete ip_summed setting
[linux-2.6] / include / asm-arm / plat-s3c / nand.h
index 8816f7f9cee15add2e5614d281db721c374c0392..f4dcd14af05957cb197a095377c325c5d01b1362 100644 (file)
@@ -1,4 +1,4 @@
-/* linux/include/asm-arm/arch-s3c2410/nand.h
+/* arch/arm/mach-s3c2410/include/mach/nand.h
  *
  * Copyright (c) 2004 Simtec Electronics
  *     Ben Dooks <ben@simtec.co.uk>
 */
 
 struct s3c2410_nand_set {
+       unsigned int            disable_ecc : 1;
+
        int                     nr_chips;
        int                     nr_partitions;
        char                    *name;
        int                     *nr_map;
        struct mtd_partition    *partitions;
+       struct nand_ecclayout   *ecc_layout;
 };
 
 struct s3c2410_platform_nand {
@@ -36,6 +39,8 @@ struct s3c2410_platform_nand {
        int     twrph0; /* active time for nWE/nOE */
        int     twrph1; /* time for release CLE/ALE from nWE/nOE inactive */
 
+       unsigned int    ignore_unset_ecc : 1;
+
        int                     nr_sets;
        struct s3c2410_nand_set *sets;