mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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:
parent
d39088ad9c
commit
46fa23f9ee
17 changed files with 137 additions and 288 deletions
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue