Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx> --- drivers/clk/clk.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 2ff7586..cb94755 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -221,9 +221,13 @@ int clk_register(struct clk *clk) static void dump_one(struct clk *clk, int verbose, int indent) { struct clk *c; + char *always = ""; - printf("%*s%s (rate %ld, %sabled)\n", indent * 4, "", clk->name, clk_get_rate(clk), - clk->enable_count ? "en" : "dis"); + if (clk->flags & CLK_ALWAYS_ENABLED) + always = "always "; + + printf("%*s%s (rate %ld, %s%sabled)\n", indent * 4, "", clk->name, clk_get_rate(clk), + always, clk->enable_count ? "en" : "dis"); if (verbose) { if (clk->num_parents > 1) { -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox