diff options
| author | Miquel Raynal <[email protected]> | 2020-08-27 08:52:05 +0000 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2020-09-30 14:43:52 +0000 |
| commit | 1e3b37aab958861a9d0c01ff6dbec96a82743701 (patch) | |
| tree | a2e1a4f195d65fa6264c3e80dc5ce97f8c61ca76 /drivers/mtd/nand/raw/atmel/nand-controller.c | |
| parent | mtd: rawnand: Make use of the ECC framework (diff) | |
| download | kernel-1e3b37aab958861a9d0c01ff6dbec96a82743701.tar.gz kernel-1e3b37aab958861a9d0c01ff6dbec96a82743701.zip | |
mtd: rawnand: Use the ECC framework OOB layouts
No need to have our own in the raw NAND core.
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'drivers/mtd/nand/raw/atmel/nand-controller.c')
| -rw-r--r-- | drivers/mtd/nand/raw/atmel/nand-controller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/atmel/nand-controller.c b/drivers/mtd/nand/raw/atmel/nand-controller.c index 3d162fdc9ce2..7fcc5e67163e 100644 --- a/drivers/mtd/nand/raw/atmel/nand-controller.c +++ b/drivers/mtd/nand/raw/atmel/nand-controller.c @@ -1108,7 +1108,7 @@ static int atmel_nand_pmecc_init(struct nand_chip *chip) chip->options |= NAND_NO_SUBPAGE_WRITE; - mtd_set_ooblayout(mtd, &nand_ooblayout_lp_ops); + mtd_set_ooblayout(mtd, nand_get_large_page_ooblayout()); return 0; } |
