diff options
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | 2020-04-23 14:52:43 +0300 |
---|---|---|
committer | Alexey Brodkin <abrodkin@synopsys.com> | 2020-04-27 11:20:26 +0300 |
commit | d4ee5c39bac955ffcd15c395b580b2374163342c (patch) | |
tree | cbe65ad43a20d730f9e18223a4716f3131db2ac8 /board/synopsys/hsdk/hsdk.c | |
parent | da34c6b7dd6d15b83e93da145a4b377755ff4ffc (diff) | |
download | u-boot-d4ee5c39bac955ffcd15c395b580b2374163342c.zip u-boot-d4ee5c39bac955ffcd15c395b580b2374163342c.tar.gz u-boot-d4ee5c39bac955ffcd15c395b580b2374163342c.tar.bz2 |
ARC: HSDK-4xD: print timer clock value
Print timer clock value in hsdk_clock print_all command.
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'board/synopsys/hsdk/hsdk.c')
-rw-r--r-- | board/synopsys/hsdk/hsdk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/synopsys/hsdk/hsdk.c b/board/synopsys/hsdk/hsdk.c index 7ba2a56..b8b995d 100644 --- a/board/synopsys/hsdk/hsdk.c +++ b/board/synopsys/hsdk/hsdk.c @@ -1017,6 +1017,8 @@ static int do_hsdk_clock_print_all(cmd_tbl_t *cmdtp, int flag, int argc, soc_clk_ctl("tun-clk", NULL, CLK_PRINT | CLK_MHZ); soc_clk_ctl("rom-clk", NULL, CLK_PRINT | CLK_MHZ); soc_clk_ctl("pwm-clk", NULL, CLK_PRINT | CLK_MHZ); + if (is_board_match_runtime(T_BOARD_HSDK_4XD)) + soc_clk_ctl("timer-clk", NULL, CLK_PRINT | CLK_MHZ); printf("\n"); return CMD_RET_SUCCESS; |