commit | 6bb15d6f07a8348cca07f2f245f3025cb79e7680 | [log] [tgz] |
---|---|---|
author | Lukasz Majewski <lukma@denx.de> | Mon Jun 24 15:50:48 2019 +0200 |
committer | Stefano Babic <sbabic@denx.de> | Fri Jul 19 14:50:30 2019 +0200 |
tree | 9354db4ddf38f1a73767d24d83cd8a7cacbf0bad | |
parent | 4ab8e783f33d80a3875e990f3069f21018379b36 [diff] |
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: Lukasz Majewski <lukma@denx.de>