mirror of
https://github.com/linux-msm/debugcc.git
synced 2026-02-25 13:12:32 -08:00
debugcc: move post_div_val into struct debug_mux
It looks like post_div_val is a property of debug_mux rather than the clock itself. It is equal for all the clocks being set. So, set it on a mux-by-mux bases. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
1487463c28
commit
de23d9a42e
@@ -48,6 +48,7 @@ struct debug_mux {
|
||||
unsigned int div_reg;
|
||||
unsigned int div_shift;
|
||||
unsigned int div_mask;
|
||||
unsigned int div_val;
|
||||
|
||||
unsigned int xo_div4_reg;
|
||||
unsigned int debug_ctl_reg;
|
||||
@@ -61,11 +62,9 @@ struct measure_clk {
|
||||
char *name;
|
||||
struct debug_mux *primary;
|
||||
int mux;
|
||||
int post_div;
|
||||
|
||||
struct debug_mux *leaf;
|
||||
int leaf_mux;
|
||||
int leaf_div;
|
||||
|
||||
unsigned int fixed_div;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user