Re: [PATCH v2] mtd: nand: realtek-ecc: relax OOB size check to minimum
From: Miquel Raynal
Date: Wed Feb 25 2026 - 11:46:14 EST
On Sat, 07 Feb 2026 11:02:43 +0400, Ahmed Naseef wrote:
> The ECC engine strictly validates that flash OOB size equals exactly
> 64 bytes. However, some NAND chips have a larger physical OOB while
> vendor firmware only uses the first 64 bytes for the ECC layout. For
> example the Macronix MX35LF1G24AD found in the Netlink HG323DAC has
> 128 byte physical OOB but vendor firmware only uses the first 64
> bytes (24 bytes free + 40 bytes BCH6 parity), leaving bytes 64-127
> unused.
>
> [...]
Applied to nand/next, thanks!
[1/1] mtd: nand: realtek-ecc: relax OOB size check to minimum
commit: 0c741b8b6963e584b41c284cd743c545636edb04
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl