[PATCH v2] mtd: rawnand: meson: fix bitmask for length in command word
Miquel Raynal
miquel.raynal at bootlin.com
Mon Apr 3 08:59:08 PDT 2023
On Wed, 2023-03-29 at 07:47:26 UTC, Arseniy Krasnov wrote:
> Valid mask is 0x3FFF, without this patch the following problems were
> found:
>
> 1) [ 0.938914] Could not find a valid ONFI parameter page, trying
> bit-wise majority to recover it
> [ 0.947384] ONFI parameter recovery failed, aborting
>
> 2) Read with disabled ECC mode was broken.
>
> Fixes: 8fae856c5350 ("mtd: rawnand: meson: add support for Amlogic NAND flash controller")
> Cc: <Stable at vger.kernel.org>
> Signed-off-by: Arseniy Krasnov <AVKrasnov at sberdevices.ru>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes, thanks.
Miquel
More information about the linux-amlogic
mailing list