]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/ti/ks2_evm/board_k2hk.c
ARM: keystone2: spl: move board specific code
[karo-tx-uboot.git] / board / ti / ks2_evm / board_k2hk.c
index 6fb3d2123df0a5183ec921f608735ab714f4e9e7..d7dd29281ce4954cbfc27c7a9aea8d3cc3742127 100644 (file)
@@ -100,3 +100,15 @@ int board_early_init_f(void)
        return 0;
 }
 #endif
+
+#ifdef CONFIG_SPL_BUILD
+static struct pll_init_data spl_pll_config[] = {
+       CORE_PLL_799,
+       TETRIS_PLL_500,
+};
+
+void spl_init_keystone_plls(void)
+{
+       init_plls(ARRAY_SIZE(spl_pll_config), spl_pll_config);
+}
+#endif