[PATCH] Documentation: dt: mtd: drop "soft_bch" from example

Boris Brezillon boris.brezillon at free-electrons.com
Fri May 27 06:31:53 PDT 2016


Brian,

On Wed, 25 May 2016 06:45:10 +0300
Baruch Siach <baruch at tkos.co.il> wrote:

> Commit 32698aafc9f0 (Documentation: devicetree: deprecate "soft_bch"
> nand-ecc-mode value, 2016-04-22) deprecated "soft_bch". Update the example to
> match.
> 
> Cc: Rafał Miłecki <zajec5 at gmail.com>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>

I don't know if we should consider this as a bugfix. If that's the
case, can you take it directly in your tree with my

Acked-by: Boris Brezillon <boris.brezillon at free-electrons.com>

Thanks,

Boris

> ---
>  Documentation/devicetree/bindings/mtd/nand.txt | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/mtd/nand.txt b/Documentation/devicetree/bindings/mtd/nand.txt
> index 68342eac2383..3733300de8dd 100644
> --- a/Documentation/devicetree/bindings/mtd/nand.txt
> +++ b/Documentation/devicetree/bindings/mtd/nand.txt
> @@ -53,7 +53,8 @@ Example:
>  
>  		nand at 0 {
>  			reg = <0>;
> -			nand-ecc-mode = "soft_bch";
> +			nand-ecc-mode = "soft";
> +			nand-ecc-algo = "bch";
>  
>  			/* controller specific properties */
>  		};



-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the linux-mtd mailing list