]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: clk: Add trivial implementation of clock dump for DM
authorMarek Vasut <marex@denx.de>
Wed, 8 Aug 2018 20:10:44 +0000 (22:10 +0200)
committerSimon Glass <sjg@chromium.org>
Sat, 29 Sep 2018 17:49:35 +0000 (11:49 -0600)
commitff8eee0330a68ee3fbb3e15ed8e315043784869f
tree35294432b19e1faad7148aa6d8c9276c79ba7fff
parente6fd0181082a04e743a07ebd9f6fdd0e06dc1399
cmd: clk: Add trivial implementation of clock dump for DM

Add trivial implementation of the clk dump in case DM is enabled.
This implementation just iterates over all the clock registered
with the CLK uclass and prints their rate.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <chin.liang.see@intel.com>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Cc: Ley Foon Tan <ley.foon.tan@intel.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>
cmd/clk.c