linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fix OMAP2 ECC/OOB layout logic
@ 2021-01-20 10:17 Miquel Raynal
  2021-01-20 10:17 ` [PATCH v2 1/2] mtd: nand: Add a helper to retrieve the number of ECC steps Miquel Raynal
  2021-01-20 10:17 ` [PATCH v2 2/2] mtd: rawnand: omap: Use ECC information from the generic structures Miquel Raynal
  0 siblings, 2 replies; 5+ messages in thread
From: Miquel Raynal @ 2021-01-20 10:17 UTC (permalink / raw)
  To: Richard Weinberger, Vignesh Raghavendra, Tudor Ambarus, linux-mtd
  Cc: Boris Brezillon, Adam Ford, ladis, Miquel Raynal

Hello,

I already sent a v1 for this fix but the problem I had was that it was
using the software BCH ECC engine internal structure and this was kind
of breaking the layering.

I attempted to export more variables which could be useful to the
users, avoiding the need to dereference private structures, but then I
realized we already had everything in hand.

Patch 1 is new and simply adds a helper that will be used by patch 2
for readability. I plan to send both patches through the next fixes
PR.

Cheers,
Miquèl

Miquel Raynal (2):
  mtd: nand: Add a helper to retrieve the number of ECC steps
  mtd: rawnand: omap: Use ECC information from the generic structures

 drivers/mtd/nand/raw/omap2.c | 16 ++++++++++------
 include/linux/mtd/nand.h     | 12 ++++++++++++
 2 files changed, 22 insertions(+), 6 deletions(-)

-- 
2.20.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

end of thread, other threads:[~2021-01-20 10:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-20 10:17 [PATCH v2 0/2] Fix OMAP2 ECC/OOB layout logic Miquel Raynal
2021-01-20 10:17 ` [PATCH v2 1/2] mtd: nand: Add a helper to retrieve the number of ECC steps Miquel Raynal
2021-01-20 10:30   ` Boris Brezillon
2021-01-20 10:17 ` [PATCH v2 2/2] mtd: rawnand: omap: Use ECC information from the generic structures Miquel Raynal
2021-01-20 10:36   ` Boris Brezillon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).