Skip to content
Snippets Groups Projects
Commit 5da0095e authored by Lukasz Majewski's avatar Lukasz Majewski Committed by Stefano Babic
Browse files

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: default avatarLukasz Majewski <lukma@denx.de>
parent 6bb15d6f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment