public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Hong Xu <hong.xu@atmel.com>
Cc: nicolas.ferre@atmel.com, linux-mtd@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org, dedekind1@gmail.com
Subject: Re: [PATCH v4 2/2] MTD: AT91: Update atmel_nand_data to support PMECC
Date: Fri, 20 Apr 2012 10:27:29 +0200	[thread overview]
Message-ID: <20120420082729.GY16641@game.jcrosoft.org> (raw)
In-Reply-To: <1334906788-18704-2-git-send-email-hong.xu@atmel.com>

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

Best Regards,
J.

  reply	other threads:[~2012-04-20  8:46 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 [this message]
2012-04-20  9:24     ` Xu, Hong
2012-04-20  9:11       ` Jean-Christophe PLAGNIOL-VILLARD
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=20120420082729.GY16641@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --cc=dedekind1@gmail.com \
    --cc=hong.xu@atmel.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=nicolas.ferre@atmel.com \
    /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