Skip to contentSkip to conversation

AT91: Update struct atmel_nand_data to support PMECC

PATCH New Hong Xu 2 participants 2 messages Dec 8, 2011 – Dec 15, 2011

Subsystems (3)
lore
Share & tools
lore

Hong Xu

author
#0 lore raw

PATCH 1/1 AT91: Update struct atmel_nand_data to support PMECC

User will use the newly added field correction_cap' and sector_size' to pass PMECC parameters to driver.

---
 arch/arm/mach-at91/include/mach/board.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-at91/include/mach/board.h +2 -0
index eac92e9..b0035de 100644
@@ -117,6 +117,8 @@ struct atmel_nand_data {
 	u8		ale;		/* address line number connected to ALE */
 	u8		cle;		/* address line number connected to CLE */
 	u8		bus_width_16;	/* buswidth is 16 bit */
+	u8		correction_cap; /* PMECC correction capability */
+	u16		sector_size;    /* Sector size for PMECC */
 	struct mtd_partition *parts;
 	unsigned int	num_parts;
 };
Signature · 1 line
1.7.3.3
#1 lore raw

PATCH 1/1 AT91: Update struct atmel_nand_data to support PMECC

On 12/08/2011 05:44 AM, Hong Xu :

Quoted 4 lines

User will use the newly added field correction_cap' and sector_size' to pass PMECC parameters to driver.

I will queue it for 3.3 soon.

Thanks,

Quoted 17 lines
---
 arch/arm/mach-at91/include/mach/board.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-at91/include/mach/board.h +2 -0
index eac92e9..b0035de 100644
@@ -117,6 +117,8 @@ struct atmel_nand_data {
 	u8		ale;		/* address line number connected to ALE */
 	u8		cle;		/* address line number connected to CLE */
 	u8		bus_width_16;	/* buswidth is 16 bit */
+	u8		correction_cap; /* PMECC correction capability */
+	u16		sector_size;    /* Sector size for PMECC */
 	struct mtd_partition *parts;
 	unsigned int	num_parts;
 };
Signature · 1 line
Nicolas Ferre