linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] MTD: AT91: Update atmel_nand_data to support PMECC
@ 2012-04-19  2:33 Hong Xu
  2012-04-19  6:15 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 4+ messages in thread
From: Hong Xu @ 2012-04-19  2:33 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Hong Xu <hong.xu@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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] MTD: AT91: Update atmel_nand_data to support PMECC
  2012-04-19  2:33 [PATCH] MTD: AT91: Update atmel_nand_data to support PMECC Hong Xu
@ 2012-04-19  6:15 ` Jean-Christophe PLAGNIOL-VILLARD
  2012-04-19  6:40   ` Xu, Hong
  0 siblings, 1 reply; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-04-19  6:15 UTC (permalink / raw)
  To: linux-arm-kernel

On 10:33 Thu 19 Apr     , Hong Xu wrote:
> Added two items,
> * correction_cap: PMECC correction capability
> * sector_size:    Sector size for PMECC
> 
> Signed-off-by: Hong Xu <hong.xu@atmel.com>
> ---
where is the driver?

Best Regards,
J.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] MTD: AT91: Update atmel_nand_data to support PMECC
  2012-04-19  6:15 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2012-04-19  6:40   ` Xu, Hong
  2012-04-19  7:33     ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 4+ messages in thread
From: Xu, Hong @ 2012-04-19  6:40 UTC (permalink / raw)
  To: linux-arm-kernel

> -----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
> 
> On 10:33 Thu 19 Apr     , Hong Xu wrote:
> > Added two items,
> > * correction_cap: PMECC correction capability
> > * sector_size:    Sector size for PMECC
> >
> > Signed-off-by: Hong Xu <hong.xu@atmel.com>
> > ---
> 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
> 
> Best Regards,
> J.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] MTD: AT91: Update atmel_nand_data to support PMECC
  2012-04-19  6:40   ` Xu, Hong
@ 2012-04-19  7:33     ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 0 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-04-19  7:33 UTC (permalink / raw)
  To: linux-arm-kernel

On 06:40 Thu 19 Apr     , Xu, Hong wrote:
> > -----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
> > 
> > On 10:33 Thu 19 Apr     , Hong Xu wrote:
> > > Added two items,
> > > * correction_cap: PMECC correction capability
> > > * sector_size:    Sector size for PMECC
> > >
> > > Signed-off-by: Hong Xu <hong.xu@atmel.com>
> > > ---
> > 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-19  7:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-19  2:33 [PATCH] MTD: AT91: Update atmel_nand_data to support PMECC Hong Xu
2012-04-19  6:15 ` Jean-Christophe PLAGNIOL-VILLARD
2012-04-19  6:40   ` Xu, Hong
2012-04-19  7:33     ` Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).