Re: [PATCH 37/39] mtd: nand: denali: support "nand-ecc-strength" DT property
From: Rob Herring <robh@kernel.org>
Date: 2016-12-01 16:16:02
Also in:
lkml
From: Rob Herring <robh@kernel.org>
Date: 2016-12-01 16:16:02
Also in:
lkml
On Sun, Nov 27, 2016 at 03:06:23AM +0900, Masahiro Yamada wrote:
Historically, this driver tried to choose as big ECC strength as possible, but it would be reasonable to allow DT to set a particular ECC strength with "nand-ecc-strength" property. Going forward, DT platforms should specify "nand-ecc-strength" or "nand-ecc-maximize" to show the ECC strength strategy explicitly. If nothing is specified in DT, "nand-ecc-maximize" is implied since this was the original behavior. It applies to PCI platforms too. Signed-off-by: Masahiro Yamada <redacted> --- .../devicetree/bindings/mtd/denali-nand.txt | 5 ++++
I'd prefer all the DT changes be in 1 patch, but Acked-by: Rob Herring <robh@kernel.org>
drivers/mtd/nand/denali.c | 27 +++++++++++++++++++++- drivers/mtd/nand/denali_pci.c | 2 ++ 3 files changed, 33 insertions(+), 1 deletion(-)
______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/