projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cf6cac
)
clk: zynq: Show watchdog clock rate properly
author
Michal Simek
<michal.simek@xilinx.com>
Wed, 21 Feb 2018 14:06:20 +0000
(15:06 +0100)
committer
Michal Simek
<michal.simek@xilinx.com>
Fri, 23 Mar 2018 08:34:43 +0000
(09:34 +0100)
watchdog clock is also connected to cpu 1X clocksource.
Zynq> clk dump
...
Before:
swdt
4294967290
After:
swdt
111111110
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/clk/clk_zynq.c
patch
|
blob
|
history
diff --git
a/drivers/clk/clk_zynq.c
b/drivers/clk/clk_zynq.c
index 50f2a65c205edc1dbc41c2d6c1a8a5f8d260b314..3845e0730978e602e6df83e317c8fe1a2ab0e846 100644
(file)
--- a/
drivers/clk/clk_zynq.c
+++ b/
drivers/clk/clk_zynq.c
@@
-394,7
+394,7
@@
static ulong zynq_clk_get_rate(struct clk *clk)
return zynq_clk_get_peripheral_rate(priv, id, two_divs);
case dma_clk:
return zynq_clk_get_cpu_rate(priv, cpu_2x_clk);
- case usb0_aper_clk ... s
mc_aper
_clk:
+ case usb0_aper_clk ... s
wdt
_clk:
return zynq_clk_get_cpu_rate(priv, cpu_1x_clk);
default:
return -ENXIO;