]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-keystone/clock.c
ARM: uniphier: support USB boot mode for ProXstream2 / PH1-LD6b SoC
[u-boot] / arch / arm / mach-keystone / clock.c
index d93689688772c58675ec131ca30d892a07f31051..5c6051e76db88807734b910010c659414060a23b 100644 (file)
@@ -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);