]> git.ipfire.org Git - thirdparty/u-boot.git/commit
clk: ti: Remove AM33xx dependency
authorBastien Curutchet <bastien.curutchet@bootlin.com>
Mon, 8 Jun 2026 13:11:59 +0000 (15:11 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 17 Jun 2026 18:47:33 +0000 (12:47 -0600)
commitacc7a66afad4e88eebdfdc0b0e383303dfba9505
tree0c6b8a2ac4a8782fc7e7aba84d564dcd866e9511
parent2c950ed551a4367c5033e96779cdcdc718168a50
clk: ti: Remove AM33xx dependency

The clock controller driven by this driver exists on other OMAP platforms
than the AM33xx. Yet, it uses functions provided by
arch/arm/mach-omap2/am33xx/clock.c making it unusable by other OMAPs.

Replace am33xx-specific do_{enable/disable}_clocks() with new static
functions implemented locally.
Replace the am33xx-specific clock header with the one shared by all OMAP
platforms.

Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
drivers/clk/ti/clk-ctrl.c