]> git.ipfire.org Git - thirdparty/u-boot.git/commit
mtd: rawnand: sunxi: fix page size in control register
authorRichard Genoud <richard.genoud@bootlin.com>
Fri, 23 Jan 2026 11:45:00 +0000 (12:45 +0100)
committerMichael Trimarchi <michael@amarulasolutions.com>
Tue, 3 Feb 2026 20:45:25 +0000 (21:45 +0100)
commitbd22b7e5d1b0b08de873ce55a2237e22049ddd53
tree9368ee35492f6637b8ab9c270b3d21ead7406d75
parente41e5ae4b5e7fa8d9d08c5cdfba793632321dbf6
mtd: rawnand: sunxi: fix page size in control register

The MACRO NFC_PAGE_SHIFT(x) already deals with removing 10 from
nand->page_shift, so it shouldn't be done twice.

Fixes: 4ccae81cdadc ("mtd: nand: Add the sunxi NAND controller driver")
Signed-off-by: Richard Genoud <richard.genoud@bootlin.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
drivers/mtd/nand/raw/sunxi_nand.c