mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 13:44:29 +08:00
clk: armada-37xx: Set DM_FLAG_PRE_RELOC
Setting DM_FLAG_PRE_RELOC for Armada 3720 clock drivers (TBG and peripheral clocks) makes it possible for serial driver to retrieve clock rates via clk API. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
139d081384
commit
3d9c1d5dda
@ -626,4 +626,5 @@ U_BOOT_DRIVER(armada_37xx_periph_clk) = {
|
||||
.ops = &armada_37xx_periph_clk_ops,
|
||||
.priv_auto = sizeof(struct a37xx_periphclk),
|
||||
.probe = armada_37xx_periph_clk_probe,
|
||||
.flags = DM_FLAG_PRE_RELOC,
|
||||
};
|
||||
|
@ -152,4 +152,5 @@ U_BOOT_DRIVER(armada_37xx_tbg_clk) = {
|
||||
.ops = &armada_37xx_tbg_clk_ops,
|
||||
.priv_auto = sizeof(struct a37xx_tbgclk),
|
||||
.probe = armada_37xx_tbg_clk_probe,
|
||||
.flags = DM_FLAG_PRE_RELOC,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user