diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2015-07-28 14:16:43 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-12 20:47:52 -0400 |
commit | c321a2362463ce54ae73ef59bee4b620d9f26acf (patch) | |
tree | 5345d954cc31eae318282f05a6c4ac88d10262fd /board/ti/ks2_evm/board_k2e.c | |
parent | aeabe652bbfd1ed11e0e0eebb46812afdb2e9401 (diff) |
ARM: keystone2: Cleanup PLL init code
There are two types of PLL for all keystone platforms:
Main PLL, Secondary PLL. Instead of duplicating the same definition
for each secondary PLL, have a common function which does
initialization for both PLLs. And also add proper register
definitions.
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'board/ti/ks2_evm/board_k2e.c')
-rw-r--r-- | board/ti/ks2_evm/board_k2e.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/ti/ks2_evm/board_k2e.c b/board/ti/ks2_evm/board_k2e.c index 43dfc48a53..98acc96e1c 100644 --- a/board/ti/ks2_evm/board_k2e.c +++ b/board/ti/ks2_evm/board_k2e.c @@ -36,6 +36,10 @@ static struct pll_init_data core_pll_config[] = { CORE_PLL_1500, }; +s16 divn_val[16] = { + 0, 0, 1, 4, 23, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 +}; + static struct pll_init_data pa_pll_config = PASS_PLL_1000; |