]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mtd: rawnand: sunxi: introduce reg_spare_area in sunxi_nfc_caps
authorRichard Genoud <richard.genoud@bootlin.com>
Tue, 28 Oct 2025 07:35:05 +0000 (08:35 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 28 Oct 2025 16:18:13 +0000 (17:18 +0100)
commit6208274d0a27b81ae5425c819810fcd7bf89636a
tree6a596f902d107dbf4282e6ffa4944eb3abe2d873
parentee61bba4ee7ca6a862ec8c8e76b2051606f25e97
mtd: rawnand: sunxi: introduce reg_spare_area in sunxi_nfc_caps

The H6/H616 spare area register is not at the same offset as the
A10/A23 one, so move its offset into sunxi_nfc_caps.

No functional change.

Signed-off-by: Richard Genoud <richard.genoud@bootlin.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/sunxi_nand.c