[PATCH] MTD: AT91: Update atmel_nand_data to support PMECC
Hong Xu
hong.xu at atmel.com
Wed Apr 18 22:33:39 EDT 2012
Added two items,
* correction_cap: PMECC correction capability
* sector_size: Sector size for PMECC
Signed-off-by: Hong Xu <hong.xu at atmel.com>
---
include/linux/platform_data/atmel.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/platform_data/atmel.h b/include/linux/platform_data/atmel.h
index b0f2c56..4d9bfd5 100644
--- a/include/linux/platform_data/atmel.h
+++ b/include/linux/platform_data/atmel.h
@@ -20,6 +20,8 @@ struct atmel_nand_data {
u8 bus_width_16; /* buswidth is 16 bit */
u8 ecc_mode; /* ecc mode */
u8 on_flash_bbt; /* bbt on flash */
+ u8 correction_cap; /* PMECC capability */
+ u16 sector_size; /* Sector size for PMECC */
struct mtd_partition *parts;
unsigned int num_parts;
};
--
1.7.10
More information about the linux-arm-kernel
mailing list