aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-davinci/include/mach/nand.h4
-rw-r--r--arch/arm/plat-s3c/include/plat/nand.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/nand.h b/arch/arm/mach-davinci/include/mach/nand.h
index b520c4b5678a..b2ad8090bd10 100644
--- a/arch/arm/mach-davinci/include/mach/nand.h
+++ b/arch/arm/mach-davinci/include/mach/nand.h
@@ -79,6 +79,10 @@ struct davinci_nand_pdata { /* platform_data */
79 79
80 /* e.g. NAND_BUSWIDTH_16 or NAND_USE_FLASH_BBT */ 80 /* e.g. NAND_BUSWIDTH_16 or NAND_USE_FLASH_BBT */
81 unsigned options; 81 unsigned options;
82
83 /* Main and mirror bbt descriptor overrides */
84 struct nand_bbt_descr *bbt_td;
85 struct nand_bbt_descr *bbt_md;
82}; 86};
83 87
84#endif /* __ARCH_ARM_DAVINCI_NAND_H */ 88#endif /* __ARCH_ARM_DAVINCI_NAND_H */
diff --git a/arch/arm/plat-s3c/include/plat/nand.h b/arch/arm/plat-s3c/include/plat/nand.h
index 18f958801e64..afd1673ad0ec 100644
--- a/arch/arm/plat-s3c/include/plat/nand.h
+++ b/arch/arm/plat-s3c/include/plat/nand.h
@@ -17,6 +17,7 @@
17 * Setting this flag will allow the kernel to 17 * Setting this flag will allow the kernel to
18 * look for it at boot time and also skip the NAND 18 * look for it at boot time and also skip the NAND
19 * scan. 19 * scan.
20 * @options: Default value to set into 'struct nand_chip' options.
20 * @nr_chips: Number of chips in this set 21 * @nr_chips: Number of chips in this set
21 * @nr_partitions: Number of partitions pointed to by @partitions 22 * @nr_partitions: Number of partitions pointed to by @partitions
22 * @name: Name of set (optional) 23 * @name: Name of set (optional)
@@ -31,6 +32,7 @@ struct s3c2410_nand_set {
31 unsigned int disable_ecc:1; 32 unsigned int disable_ecc:1;
32 unsigned int flash_bbt:1; 33 unsigned int flash_bbt:1;
33 34
35 unsigned int options;
34 int nr_chips; 36 int nr_chips;
35 int nr_partitions; 37 int nr_partitions;
36 char *name; 38 char *name;