[External] [PATCH 5/5] mtd: rawnand: omap: Add larger page NAND chips support

Barnett, Ryan J Collins Ryan.Barnett at collins.com
Thu Jun 10 07:49:57 PDT 2021


> From: Miquel Raynal <miquel.raynal at bootlin.com>
> Sent: Thursday, June 10, 2021 08:49
> 
> There is no reason to be limited to 4kiB page NAND chips just because this is
> the maximum length the ELM is able to handle in one go. Just call the ELM
> several times and it will process as many data as needed.
> 
> Here we introduce the concept of ECC page (which is at most 4kiB). The ELM
> will be sought as many times as there are ECC pages.
> 
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> ---
>  drivers/mtd/nand/raw/omap2.c    | 179 ++++++++++++++++++++------------
>  drivers/mtd/nand/raw/omap_elm.c |   2 +-
>  2 files changed, 114 insertions(+), 67 deletions(-)

Tested the series on a TI Sitara Processor with a NAND device which has 8KiB page size.

Tested-by: Ryan Barnett <ryan.barnett at collins.com>


More information about the linux-mtd mailing list