]> git.ipfire.org Git - thirdparty/u-boot.git/commit
mtd: rawnand: sunxi: remove usage of struct sunxi_ccm_reg
authorRichard Genoud <richard.genoud@bootlin.com>
Fri, 23 Jan 2026 11:44:40 +0000 (12:44 +0100)
committerMichael Trimarchi <michael@amarulasolutions.com>
Tue, 3 Feb 2026 20:44:33 +0000 (21:44 +0100)
commit8034c41d63c985de3bab9980ce81aa70342f64bf
treef39b505b694c895969c6e4db06c2cf27ed2be230
parent46d5ef0416a68e2e7084c5443cf0c76f44593b1a
mtd: rawnand: sunxi: remove usage of struct sunxi_ccm_reg

The sunxi_ccm_reg is legacy, drop its usage from nand related code

For that, CCU_NAND0_CLK_CFG and CCU_AHB_GATE1 are added to the clock
files when missing.
And clock code in sunxi_nand{,_spl}.c and board.c are changed to use the
new scheme.

Moreover, drop AHB_DIV_1 in favor of the more readable CCM_NAND_CTRL_M/N

Suggested-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Richard Genoud <richard.genoud@bootlin.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
arch/arm/include/asm/arch-sunxi/clock_sun4i.h
arch/arm/include/asm/arch-sunxi/clock_sun6i.h
arch/arm/include/asm/arch-sunxi/clock_sun8i_a83t.h
arch/arm/include/asm/arch-sunxi/clock_sun9i.h
board/sunxi/board.c
drivers/mtd/nand/raw/sunxi_nand.c
drivers/mtd/nand/raw/sunxi_nand_spl.c