Skip to contentSkip to conversation

MTD: AT91: Update atmel_nand_data to support PMECC

PATCH New Hong Xu 2 participants 4 messages Apr 19, 2012 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore

Hong Xu

author
#0 lore raw

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

Added two items,
* correction_cap: PMECC correction capability
* sector_size: Sector size for PMECC

---
 include/linux/platform_data/atmel.h |    2 ++
 1 file changed, 2 insertions(+)
include/linux/platform_data/atmel.h +2 -0
index b0f2c56..4d9bfd5 100644
@@ -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;
 };
Signature · 1 line
1.7.10
author
#2 lore raw

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

Quoted 7 lines

-----Original Message-----
From: Jean-Christophe PLAGNIOL-VILLARD [mailto:plagnioj at jcrosoft.com]
Sent: Thursday, April 19, 2012 2:15 PM
To: Xu, Hong
Cc: Ferre, Nicolas; linux-arm-kernel at lists.infradead.org
Subject: Re: [PATCH] MTD: AT91: Update atmel_nand_data to support PMECC

Quoted 8 lines
Quoted 6 lines · Hong Xu

Added two items,
* correction_cap: PMECC correction capability
* sector_size: Sector size for PMECC

---

where is the driver?

Mtd/master is on v3.3-rc6(by today) which does not include your changes about platform-data/atmel.h
So I planed to update platform data through AT91 tree and then post the driver to MTD mentioning the platform data commit in AT91 (I hoped to avoid the syncing issues between MTD tree and AT91/ARM SoC tree)

BR,
Eric

Quoted 3 lines

Best Regards,
J.

#3 lore raw

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

Quoted 12 lines · Hong
Quoted 12 lines

-----Original Message-----
From: Jean-Christophe PLAGNIOL-VILLARD [mailto:plagnioj at jcrosoft.com]
Sent: Thursday, April 19, 2012 2:15 PM
To: Xu, Hong
Cc: Ferre, Nicolas; linux-arm-kernel at lists.infradead.org
Subject: Re: [PATCH] MTD: AT91: Update atmel_nand_data to support PMECC

Quoted 4 lines · Hong Xu

Added two items,
* correction_cap: PMECC correction capability
* sector_size: Sector size for PMECC

Quoted 6 lines
Quoted 3 lines
Quoted 2 lines

---

where is the driver?

Mtd/master is on v3.3-rc6(by today) which does not include your changes about platform-data/atmel.h
So I planed to update platform data through AT91 tree and then post the driver to MTD mentioning the platform data commit in AT91 (I hoped to avoid the syncing issues between MTD tree and AT91/ARM SoC tree)

no we'll manage this

just send the code here and put mtd in Cc

Best Regards,
J.