]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: Extend struct clk to provide information regarding clock rate
authorLukasz Majewski <lukma@denx.de>
Mon, 24 Jun 2019 13:50:38 +0000 (15:50 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 19 Jul 2019 12:50:30 +0000 (14:50 +0200)
commit105db9593eb53ab85a48bcc2187ff8770b7958ec
tree1cb7fbe26eac81fab7f3d4a35278f5480fb777c7
parentec8f1c02dd0c2e8b7302072b3956a9c56139a139
clk: Extend struct clk to provide information regarding clock rate

This commit extends the struct clk to provide information regarding the
clock rate.
As a result the clock tree traversal is performed at most once, and further
reads are using the cached value.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
include/clk.h