aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/clk_sandbox_ccf.c
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2019-06-24 15:50:49 +0200
committerStefano Babic <sbabic@denx.de>2019-07-19 14:50:30 +0200
commit5da0095e3a670fe61a3421a2a826514a61a687e0 (patch)
treeb2a2551ca820d693ff27f56ff0d24b33c0a4a676 /drivers/clk/clk_sandbox_ccf.c
parent6bb15d6f07a8348cca07f2f245f3025cb79e7680 (diff)
downloadu-boot-5da0095e3a670fe61a3421a2a826514a61a687e0.zip
u-boot-5da0095e3a670fe61a3421a2a826514a61a687e0.tar.gz
u-boot-5da0095e3a670fe61a3421a2a826514a61a687e0.tar.bz2
clk: sandbox: Adjust clk-mux.c to emulate reading divider value from HW
The generic mux clock code for CCF requires reading the clock multiplexer value from HW registers. As sandbox by design has readl() as no-op it was necessary to provide this value in the other way. The new field in the mux structure (accessible only when sandbox is run) has been introduced for this purpose. Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'drivers/clk/clk_sandbox_ccf.c')
0 files changed, 0 insertions, 0 deletions