mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
clk: zynq: Show watchdog clock rate properly
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>
This commit is contained in:
parent
1cf6cac4d1
commit
58afff43e3
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ... smc_aper_clk:
|
||||
case usb0_aper_clk ... swdt_clk:
|
||||
return zynq_clk_get_cpu_rate(priv, cpu_1x_clk);
|
||||
default:
|
||||
return -ENXIO;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue