Thread (2 messages) 2 messages, 2 authors, 2026-03-12

Re: [PATCH v2 3/6] mtd: rawnand: sunxi: do not count BBM bytes twice

From: Richard GENOUD <richard.genoud@bootlin.com>
Date: 2026-03-12 10:39:55
Also in: linux-sunxi, lkml

Le 09/03/2026 à 16:27, Miquel Raynal a écrit :
Hello Richard,

On 05/03/2026 at 11:01:34 +01, Richard Genoud [off-list ref] wrote:
quoted
BBM is part of USER_DATA section, so we should remove it twice
Maybe you mean "is already part" and as such the end of the sentence
should be that "we should *not* remove it twice"?
yes indeed.

Thanks !
quoted
This was working ok because we are on the safe size, advertising that
there was 2 bytes less available than in reality.

But we can't change old platforms, since it may lead to a different ECC
strength, so, introduce a legacy flag for old platforms, and switch the
new platforms to the correct count.

Signed-off-by: Richard Genoud <richard.genoud@bootlin.com>
Thanks,
Miquèl

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help