[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180619075835.10ded314@bbrezillon>
Date: Tue, 19 Jun 2018 07:58:35 +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 1/6] mtd: rawnand: marvell: Handle on-die ECC
On Tue, 19 Jun 2018 17:31:20 +1200
Chris Packham <chris.packham@...iedtelesis.co.nz> wrote:
> From the controllers point of view this is the same as no or
> software only ECC.
>
> Signed-off-by: Chris Packham <chris.packham@...iedtelesis.co.nz>
Reviewed-by: Boris Brezillon <boris.brezillon@...tlin.com>
> ---
> Changes in v2:
> - New
>
> drivers/mtd/nand/raw/marvell_nand.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mtd/nand/raw/marvell_nand.c b/drivers/mtd/nand/raw/marvell_nand.c
> index ebb1d141b900..ba6889bbe802 100644
> --- a/drivers/mtd/nand/raw/marvell_nand.c
> +++ b/drivers/mtd/nand/raw/marvell_nand.c
> @@ -2157,6 +2157,7 @@ static int marvell_nand_ecc_init(struct mtd_info *mtd,
> break;
> case NAND_ECC_NONE:
> case NAND_ECC_SOFT:
> + case NAND_ECC_ON_DIE:
> if (!nfc->caps->is_nfcv2 && mtd->writesize != SZ_512 &&
> mtd->writesize != SZ_2K) {
> dev_err(nfc->dev, "NFCv1 cannot write %d bytes pages\n",
Powered by blists - more mailing lists