diff options
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mxc_nand.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mxc_nand.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mxc_nand.h b/arch/arm/plat-mxc/include/mach/mxc_nand.h index 5d2d21d414e0..04c0d060d814 100644 --- a/arch/arm/plat-mxc/include/mach/mxc_nand.h +++ b/arch/arm/plat-mxc/include/mach/mxc_nand.h | |||
@@ -20,9 +20,13 @@ | |||
20 | #ifndef __ASM_ARCH_NAND_H | 20 | #ifndef __ASM_ARCH_NAND_H |
21 | #define __ASM_ARCH_NAND_H | 21 | #define __ASM_ARCH_NAND_H |
22 | 22 | ||
23 | #include <linux/mtd/partitions.h> | ||
24 | |||
23 | struct mxc_nand_platform_data { | 25 | struct mxc_nand_platform_data { |
24 | int width; /* data bus width in bytes */ | 26 | unsigned int width; /* data bus width in bytes */ |
25 | int hw_ecc:1; /* 0 if supress hardware ECC */ | 27 | unsigned int hw_ecc:1; /* 0 if supress hardware ECC */ |
26 | int flash_bbt:1; /* set to 1 to use a flash based bbt */ | 28 | unsigned int flash_bbt:1; /* set to 1 to use a flash based bbt */ |
29 | struct mtd_partition *parts; /* partition table */ | ||
30 | int nr_parts; /* size of parts */ | ||
27 | }; | 31 | }; |
28 | #endif /* __ASM_ARCH_NAND_H */ | 32 | #endif /* __ASM_ARCH_NAND_H */ |