diff options
author | Vitaly Andrianov <vitalya@ti.com> | 2015-09-19 10:56:41 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-10-22 18:22:16 (GMT) |
commit | e6d71e1ca5dc40e871e53ad0d14d68676cf92601 (patch) | |
tree | a5d81df8816038e0f479b644926255c6b9af38bc /arch/arm/mach-keystone/clock.c | |
parent | bda920c65e7cc299e6ef0dc6e676fe672609ce12 (diff) | |
download | u-boot-fsl-qoriq-e6d71e1ca5dc40e871e53ad0d14d68676cf92601.tar.xz |
ARM: k2g: Add clock information
Add clock information for Galileo
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Diffstat (limited to 'arch/arm/mach-keystone/clock.c')
-rw-r--r-- | arch/arm/mach-keystone/clock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-keystone/clock.c b/arch/arm/mach-keystone/clock.c index d936896..5c6051e 100644 --- a/arch/arm/mach-keystone/clock.c +++ b/arch/arm/mach-keystone/clock.c @@ -360,6 +360,10 @@ unsigned long clk_get_rate(unsigned int clk) if (cpu_is_k2hk()) freq = pll_freq_get(DDR3B_PLL); break; + case uart_pll_clk: + if (cpu_is_k2g()) + freq = pll_freq_get(UART_PLL); + break; case sys_clk0_1_clk: case sys_clk0_clk: freq = pll_freq_get(CORE_PLL) / pll0div_read(1); |