Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1419453

Re: [RESEND PATCH 1/3] mtd: nand: Add an option to maximize the ECC strength

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [RESEND PATCH 1/3] mtd: nand: Add an option to maximize the ECC strength
Date 2016-06-10 16:10 +0200
Message-ID <rIvih-5yi-15@gated-at.bofh.it> (permalink)
References <rHNhf-1Mf-5@gated-at.bofh.it> <rHNhg-1Mf-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jun 08, 2016 at 05:04:22PM +0200, Boris Brezillon wrote:
> The generic NAND DT bindings allows one to tweak the ECC strength and
> step size to their need. It can be used to lower the ECC strength to
> match a bootloader/firmware config, but might also be used to get a better
> reliability.
> 
> In the latter case, the user might want to use the maximum ECC strength
> without having to explicitly calculate the exact value (this value not
> only depends on the OOB size, but also on the NAND controller, and can
> be tricky to extract).
> 
> Add a generic 'nand-ecc-maximize' DT property and the associated
> NAND_ECC_MAXIMIZE flag, to let ECC controller drivers select the best
> ECC strength and step-size on their own.
> 
> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
> ---
>  Documentation/devicetree/bindings/mtd/nand.txt | 9 +++++++++

Acked-by: Rob Herring <robh@kernel.org>

>  drivers/mtd/nand/nand_base.c                   | 3 +++
>  include/linux/mtd/nand.h                       | 1 +
>  3 files changed, 13 insertions(+)

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RESEND PATCH 0/3] mtd: nand: standardize ECC maximization Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-06-08 17:10 +0200
  [RESEND PATCH 2/3] mtd: nand: Support maximizing ECC when using software BCH Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-06-08 17:10 +0200
  [RESEND PATCH 3/3] mtd: nand: sunxi: Support ECC maximization Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-06-08 17:10 +0200
  [RESEND PATCH 1/3] mtd: nand: Add an option to maximize the ECC strength Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-06-08 17:10 +0200
    Re: [RESEND PATCH 1/3] mtd: nand: Add an option to maximize the ECC  strength Rob Herring <robh@kernel.org> - 2016-06-10 16:10 +0200

csiph-web