[PATCH 0/4] mtd: rawnand: sunxi: Fixes user data length for H6
Richard Genoud
richard.genoud at bootlin.com
Mon Mar 9 16:22:47 CET 2026
This series introduces the correct usage of user data length for
H6/H616.
If the older SoCs must use a fixed value of 4 user data bytes for each
ECC step, the H6 can have a different value for each step.
In the first round, the behavior was kept as the one used by A10 when in
fact the images in the wild with the vendor kernel are using a different
layout.
The 3rd patch enables using variable user data length for H6/H616.
All other patches are fixes/code cleaning
A similar series is under review for Linux:
https://lore.kernel.org/lkml/20260305100137.2558423-1-richard.genoud@bootlin.com/
Richard Genoud (4):
mtd: rawnand: sunxi: Replace hard coded value by a define
mtd: rawnand: sunxi: make the code mode self-explanatory
mtd: rawnand: sunxi: introduce variable user data length
mtd: nand: raw: sunxi_spl: remove user data length reset
drivers/mtd/nand/raw/sunxi_nand.c | 157 +++++++++++++++++++-------
drivers/mtd/nand/raw/sunxi_nand.h | 34 ++++++
drivers/mtd/nand/raw/sunxi_nand_spl.c | 47 ++++----
3 files changed, 171 insertions(+), 67 deletions(-)
base-commit: 4f70106beafe30df8b0528a3d8b2543cd48fe241
More information about the U-Boot
mailing list