]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: armada-37xx: Set DM_FLAG_PRE_RELOC
authorMarek Behún <marek.behun@nic.cz>
Tue, 25 May 2021 17:42:39 +0000 (19:42 +0200)
committerStefan Roese <sr@denx.de>
Thu, 8 Jul 2021 14:40:52 +0000 (16:40 +0200)
commit3d9c1d5ddac8f040730c228086a083214e992419
treef2040481395a37c72ef4befb66e4e3e973649742
parent139d081384c2f613ac74b372cb7afe2386d556e4
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>
drivers/clk/mvebu/armada-37xx-periph.c
drivers/clk/mvebu/armada-37xx-tbg.c