clk: sunxi: Use a single driver for all variants
Now that all of the variants use the same bind/probe functions and ops, there is no need to have a separate driver for each variant. Since most SoCs contain two variants (the main CCU and PRCM CCU), this saves a bit of firmware size and RAM. Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> [Andre: add F1C100s support] Signed-off-by: Andre Przywara <andre.przywara@arm.com>
This commit is contained in:

committed by
Andre Przywara

parent
d39088ad9c
commit
46fa23f9ee
@@ -85,18 +85,6 @@ struct ccu_priv {
|
||||
const struct ccu_desc *desc;
|
||||
};
|
||||
|
||||
/**
|
||||
* sunxi_clk_bind - common sunxi clock bind
|
||||
* @dev: clock device
|
||||
*/
|
||||
int sunxi_clk_bind(struct udevice *dev);
|
||||
|
||||
/**
|
||||
* sunxi_clk_probe - common sunxi clock probe
|
||||
* @dev: clock device
|
||||
*/
|
||||
int sunxi_clk_probe(struct udevice *dev);
|
||||
|
||||
extern struct clk_ops sunxi_clk_ops;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user