mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
rockchip: clk: rk1108: convert to use live dt
Use live dt api to get cru base addr. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
parent
08516431cf
commit
bbfef40f92
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ static int rv1108_clk_probe(struct udevice *dev)
|
|||
{
|
||||
struct rv1108_clk_priv *priv = dev_get_priv(dev);
|
||||
|
||||
priv->cru = (struct rv1108_cru *)devfdt_get_addr(dev);
|
||||
priv->cru = dev_read_addr_ptr(dev);
|
||||
|
||||
rkclk_init(priv->cru);
|
||||
|
||||
|
|
Loading…
Reference in a new issue