Skip to content
Commit 6bb15d6f authored by Lukasz Majewski's avatar Lukasz Majewski Committed by Stefano Babic
Browse files

clk: sandbox: Adjust clk-divider to emulate reading its value from HW



The generic divider clock code for CCF requires reading the divider 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 divider structure (accessible only when sandbox is
run) has been introduced for this purpose.

Signed-off-by: default avatarLukasz Majewski <lukma@denx.de>
parent 4ab8e783
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment