public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] mtd: rawnand: marvell: Add support for 8kiB pages NAND chips layout
@ 2018-09-07 14:34 Miquel Raynal
  2018-09-10 13:36 ` Boris Brezillon
  2018-09-19 21:27 ` Miquel Raynal
  0 siblings, 2 replies; 3+ messages in thread
From: Miquel Raynal @ 2018-09-07 14:34 UTC (permalink / raw)
  To: Boris Brezillon, Richard Weinberger, David Woodhouse,
	Brian Norris, Marek Vasut
  Cc: linux-mtd, Thomas Petazzoni, Nadav Haklai, Gregory Clement,
	Antoine Tenart, Maxime Chevallier, Ofer Heifetz,
	Konstantin Porotchkin, Miquel Raynal

From: Konstantin Porotchkin <kostap@marvell.com>

Add support for two new layouts: 8kiB pages NAND chips, requesting
either 4 or 8 bit of correctability per 512B step.

Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
 drivers/mtd/nand/raw/marvell_nand.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/mtd/nand/raw/marvell_nand.c b/drivers/mtd/nand/raw/marvell_nand.c
index bc2ef5209783..bba7aa80ec61 100644
--- a/drivers/mtd/nand/raw/marvell_nand.c
+++ b/drivers/mtd/nand/raw/marvell_nand.c
@@ -219,6 +219,8 @@ static const struct marvell_hw_ecc_layout marvell_nfc_layouts[] = {
 	MARVELL_LAYOUT( 2048,   512,  4,  1,  1, 2048, 32, 30,  0,  0,  0),
 	MARVELL_LAYOUT( 4096,   512,  4,  2,  2, 2048, 32, 30,  0,  0,  0),
 	MARVELL_LAYOUT( 4096,   512,  8,  5,  4, 1024,  0, 30,  0, 64, 30),
+	MARVELL_LAYOUT( 8192,   512,  4,  4,  4, 2048,  0, 30,  0,  0,  0),
+	MARVELL_LAYOUT( 8192,   512,  8,  9,  8, 1024,  0, 30,  0, 160, 30),
 };
 
 /**
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] mtd: rawnand: marvell: Add support for 8kiB pages NAND chips layout
  2018-09-07 14:34 [PATCH] mtd: rawnand: marvell: Add support for 8kiB pages NAND chips layout Miquel Raynal
@ 2018-09-10 13:36 ` Boris Brezillon
  2018-09-19 21:27 ` Miquel Raynal
  1 sibling, 0 replies; 3+ messages in thread
From: Boris Brezillon @ 2018-09-10 13:36 UTC (permalink / raw)
  To: Miquel Raynal
  Cc: Richard Weinberger, David Woodhouse, Brian Norris, Marek Vasut,
	Antoine Tenart, Gregory Clement, Maxime Chevallier, Nadav Haklai,
	linux-mtd, Thomas Petazzoni, Konstantin Porotchkin, Ofer Heifetz

On Fri,  7 Sep 2018 16:34:36 +0200
Miquel Raynal <miquel.raynal@bootlin.com> wrote:

> From: Konstantin Porotchkin <kostap@marvell.com>
> 
> Add support for two new layouts: 8kiB pages NAND chips, requesting
> either 4 or 8 bit of correctability per 512B step.
> 
> Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>

> ---
>  drivers/mtd/nand/raw/marvell_nand.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/mtd/nand/raw/marvell_nand.c b/drivers/mtd/nand/raw/marvell_nand.c
> index bc2ef5209783..bba7aa80ec61 100644
> --- a/drivers/mtd/nand/raw/marvell_nand.c
> +++ b/drivers/mtd/nand/raw/marvell_nand.c
> @@ -219,6 +219,8 @@ static const struct marvell_hw_ecc_layout marvell_nfc_layouts[] = {
>  	MARVELL_LAYOUT( 2048,   512,  4,  1,  1, 2048, 32, 30,  0,  0,  0),
>  	MARVELL_LAYOUT( 4096,   512,  4,  2,  2, 2048, 32, 30,  0,  0,  0),
>  	MARVELL_LAYOUT( 4096,   512,  8,  5,  4, 1024,  0, 30,  0, 64, 30),
> +	MARVELL_LAYOUT( 8192,   512,  4,  4,  4, 2048,  0, 30,  0,  0,  0),
> +	MARVELL_LAYOUT( 8192,   512,  8,  9,  8, 1024,  0, 30,  0, 160, 30),
>  };
>  
>  /**

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mtd: rawnand: marvell: Add support for 8kiB pages NAND chips layout
  2018-09-07 14:34 [PATCH] mtd: rawnand: marvell: Add support for 8kiB pages NAND chips layout Miquel Raynal
  2018-09-10 13:36 ` Boris Brezillon
@ 2018-09-19 21:27 ` Miquel Raynal
  1 sibling, 0 replies; 3+ messages in thread
From: Miquel Raynal @ 2018-09-19 21:27 UTC (permalink / raw)
  To: Boris Brezillon, Richard Weinberger, David Woodhouse,
	Brian Norris, Marek Vasut
  Cc: linux-mtd, Thomas Petazzoni, Nadav Haklai, Gregory Clement,
	Antoine Tenart, Maxime Chevallier, Ofer Heifetz,
	Konstantin Porotchkin

Hello,

Miquel Raynal <miquel.raynal@bootlin.com> wrote on Fri,  7 Sep 2018
16:34:36 +0200:

> From: Konstantin Porotchkin <kostap@marvell.com>
> 
> Add support for two new layouts: 8kiB pages NAND chips, requesting
> either 4 or 8 bit of correctability per 512B step.
> 
> Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

Applied to nand/next.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-09-19 21:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-07 14:34 [PATCH] mtd: rawnand: marvell: Add support for 8kiB pages NAND chips layout Miquel Raynal
2018-09-10 13:36 ` Boris Brezillon
2018-09-19 21:27 ` Miquel Raynal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox