From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: "Xu, Hong" <Hong.Xu@atmel.com>
Cc: "Ferre, Nicolas" <Nicolas.FERRE@atmel.com>,
"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"dedekind1@gmail.com" <dedekind1@gmail.com>
Subject: Re: [PATCH v4 2/2] MTD: AT91: Update atmel_nand_data to support PMECC
Date: Fri, 20 Apr 2012 11:11:48 +0200 [thread overview]
Message-ID: <20120420091148.GZ16641@game.jcrosoft.org> (raw)
In-Reply-To: <A92DB5DF46DBC241980A99BFD8A00AEE0F62D6EE@penmbx01>
On 09:24 Fri 20 Apr , Xu, Hong wrote:
>
>
> > -----Original Message-----
> > From: Jean-Christophe PLAGNIOL-VILLARD [mailto:plagnioj@jcrosoft.com]
> > Sent: Friday, April 20, 2012 4:27 PM
> > To: Xu, Hong
> > Cc: linux-mtd@lists.infradead.org; linux-arm-kernel@lists.infradead.org;
> > dedekind1@gmail.com; Ferre, Nicolas
> > Subject: Re: [PATCH v4 2/2] MTD: AT91: Update atmel_nand_data to support PMECC
> >
> > On 15:26 Fri 20 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>
> > > ---
> > > 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 */
> > as this only used by DT
> > no need to expose it
> >
>
> OK, we could put those into struct Atmel_nand_host. But this means PMECC will totally rely on DT.
yes as none of the non dt-only soc use it
Best Regards,
J.
next prev parent reply other threads:[~2012-04-20 9:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-20 7:26 [PATCH v4 1/2] MTD: atmel_nand: Update driver to support Programmable HW ECC controller Hong Xu
2012-04-20 7:26 ` [PATCH v4 2/2] MTD: AT91: Update atmel_nand_data to support PMECC Hong Xu
2012-04-20 8:27 ` Jean-Christophe PLAGNIOL-VILLARD
2012-04-20 9:24 ` Xu, Hong
2012-04-20 9:11 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2012-04-20 8:25 ` [PATCH v4 1/2] MTD: atmel_nand: Update driver to support Programmable HW ECC controller Jean-Christophe PLAGNIOL-VILLARD
2012-04-20 9:13 ` Xu, Hong
2012-04-20 9:20 ` Jean-Christophe PLAGNIOL-VILLARD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120420091148.GZ16641@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=Hong.Xu@atmel.com \
--cc=Nicolas.FERRE@atmel.com \
--cc=dedekind1@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox