diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2021-05-25 19:42:39 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-07-08 16:40:52 +0200 |
commit | 3d9c1d5ddac8f040730c228086a083214e992419 (patch) | |
tree | f2040481395a37c72ef4befb66e4e3e973649742 /drivers/clk/mvebu/armada-37xx-periph.c | |
parent | 139d081384c2f613ac74b372cb7afe2386d556e4 (diff) | |
download | u-boot-3d9c1d5ddac8f040730c228086a083214e992419.zip u-boot-3d9c1d5ddac8f040730c228086a083214e992419.tar.gz u-boot-3d9c1d5ddac8f040730c228086a083214e992419.tar.bz2 |
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>
Diffstat (limited to 'drivers/clk/mvebu/armada-37xx-periph.c')
-rw-r--r-- | drivers/clk/mvebu/armada-37xx-periph.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/mvebu/armada-37xx-periph.c b/drivers/clk/mvebu/armada-37xx-periph.c index b0f47c3..3b767d7 100644 --- a/drivers/clk/mvebu/armada-37xx-periph.c +++ b/drivers/clk/mvebu/armada-37xx-periph.c @@ -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, }; |