diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2015-07-28 14:16:44 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-12 20:47:52 -0400 |
commit | 7b50e1599f4e6551a3348ca5f061a596f6f6896e (patch) | |
tree | 5377f6c888f9f71cb4e8eb6f58de36d1cf41471d /board/ti/ks2_evm/board_k2hk.c | |
parent | c321a2362463ce54ae73ef59bee4b620d9f26acf (diff) |
ARM: keystone2: Fix dev and arm speed detection
Use common devspeed and armspeed definitions.
Also fix reading efuse bootrom register.
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'board/ti/ks2_evm/board_k2hk.c')
-rw-r--r-- | board/ti/ks2_evm/board_k2hk.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/board/ti/ks2_evm/board_k2hk.c b/board/ti/ks2_evm/board_k2hk.c index cb64934c24..6c0a092c96 100644 --- a/board/ti/ks2_evm/board_k2hk.c +++ b/board/ti/ks2_evm/board_k2hk.c @@ -29,10 +29,10 @@ unsigned int external_clk[ext_clk_count] = { [rp1_clk] = 123456789 }; -static struct pll_init_data core_pll_config[] = { - CORE_PLL_799, - CORE_PLL_999, - CORE_PLL_1200, +static struct pll_init_data core_pll_config[NUM_SPDS] = { + [SPD800] = CORE_PLL_799, + [SPD1000] = CORE_PLL_999, + [SPD1200] = CORE_PLL_1200, }; s16 divn_val[16] = { @@ -40,11 +40,11 @@ s16 divn_val[16] = { }; static struct pll_init_data tetris_pll_config[] = { - TETRIS_PLL_800, - TETRIS_PLL_1000, - TETRIS_PLL_1200, - TETRIS_PLL_1350, - TETRIS_PLL_1400, + [SPD800] = TETRIS_PLL_800, + [SPD1000] = TETRIS_PLL_1000, + [SPD1200] = TETRIS_PLL_1200, + [SPD1350] = TETRIS_PLL_1350, + [SPD1400] = TETRIS_PLL_1400, }; static struct pll_init_data pa_pll_config = |