]> git.ipfire.org Git - thirdparty/u-boot.git/commit
mtd: rawnand: sunxi: move ECC_PAT_FOUND register in SoC caps
authorRichard Genoud <richard.genoud@bootlin.com>
Fri, 23 Jan 2026 11:44:45 +0000 (12:44 +0100)
committerMichael Trimarchi <michael@amarulasolutions.com>
Tue, 3 Feb 2026 20:44:46 +0000 (21:44 +0100)
commit2e6852a8418463f79747d40921a3cc579de3a2ef
treee34fdb29c57ad5754df57f907f73c793cdf7b94b
parenteb66861acc8f7efc398a7ed5eec3384c23eab16f
mtd: rawnand: sunxi: move ECC_PAT_FOUND register in SoC caps

Move ECC_PAT_FOUND register in SoC capabilities structure

This register offset moved in H616, it's now its own register (@0x3c,
bits 0-31), not shared with NFC_ECC_ST any more (was @0x38 bits 16-31).
Push that specificity in caps structure.

Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Richard Genoud <richard.genoud@bootlin.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
drivers/mtd/nand/raw/sunxi_nand.c
drivers/mtd/nand/raw/sunxi_nand.h