[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180620114025.0b18b22f@bbrezillon>
Date: Wed, 20 Jun 2018 11:40:25 +0200
From: Boris Brezillon <boris.brezillon@...tlin.com>
To: Chris Packham <chris.packham@...iedtelesis.co.nz>
Cc: miquel.raynal@...tlin.com, dwmw2@...radead.org,
computersforpeace@...il.com, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org, Richard Weinberger <richard@....at>,
Marek Vasut <marek.vasut@...il.com>
Subject: Re: [RFC PATCH v2 5/6] mtd: rawnand: micron: add
ONFI_FEATURE_ON_DIE_ECC to supported features
On Tue, 19 Jun 2018 17:31:24 +1200
Chris Packham <chris.packham@...iedtelesis.co.nz> wrote:
> Add ONFI_FEATURE_ON_DIE_ECC to the set/get features list for Micron
> NAND flash.
>
> Signed-off-by: Chris Packham <chris.packham@...iedtelesis.co.nz>
Queued to master (AKA mtd/fixes).
Thanks,
Boris
> ---
> Changes in v2:
> - New
>
> drivers/mtd/nand/raw/nand_micron.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/mtd/nand/raw/nand_micron.c b/drivers/mtd/nand/raw/nand_micron.c
> index e582c9e61715..d1e8f57544a0 100644
> --- a/drivers/mtd/nand/raw/nand_micron.c
> +++ b/drivers/mtd/nand/raw/nand_micron.c
> @@ -66,7 +66,9 @@ static int micron_nand_onfi_init(struct nand_chip *chip)
>
> if (p->supports_set_get_features) {
> set_bit(ONFI_FEATURE_ADDR_READ_RETRY, p->set_feature_list);
> + set_bit(ONFI_FEATURE_ON_DIE_ECC, p->set_feature_list);
> set_bit(ONFI_FEATURE_ADDR_READ_RETRY, p->get_feature_list);
> + set_bit(ONFI_FEATURE_ON_DIE_ECC, p->get_feature_list);
> }
>
> return 0;
Powered by blists - more mailing lists