]> git.baikalelectronics.ru Git - uboot.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)
commit7ad869ed9b0a766f4f2571c4f406cfbc718d96ad
tree1cb7fbe26eac81fab7f3d4a35278f5480fb777c7
parentfbe9881b497a78b8c27bdda0d8f9fd046ef93a01
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