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