Thread (15 messages) 15 messages, 2 authors, 2026-03-05

Re: [PATCH 5/6] mtd: rawnand: sunxi: make the code mode self-explanatory

From: Jernej Škrabec <jernej.skrabec@gmail.com>
Date: 2026-02-21 09:40:05
Also in: linux-sunxi, lkml

Dne petek, 20. februar 2026 ob 17:10:10 Srednjeevropski standardni čas je Richard Genoud napisal(a):
In sunxi_nfc_hw_ecc_{read,write}_chunk(), the ECC step was force to 0,
the reason is not trivial to get when reading the code.

The explanation is that, from the NAND flash controller perspective, we
are indeed at step 0 for user data length and ECC errors.

Just add a const value with an explanation to clarify things.

Signed-off-by: Richard Genoud <richard.genoud@bootlin.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>

Best regards,
Jernej


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