mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
rockchip: efuse: dm: change to use dev_read_addr
This changes the rockchip-efuse driver to use dev_read_addr instead of devfdt_get_addr. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
parent
cb91173a7f
commit
928979cb2b
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ static int rockchip_efuse_ofdata_to_platdata(struct udevice *dev)
|
|||
{
|
||||
struct rockchip_efuse_platdata *plat = dev_get_platdata(dev);
|
||||
|
||||
plat->base = (void *)devfdt_get_addr(dev);
|
||||
plat->base = (void *)dev_read_addr(dev);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue