diff options
| author | Lokesh Vutla <[email protected]> | 2013-07-30 10:48:52 +0530 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2013-08-15 08:51:10 -0400 |
| commit | 94d77fb656d49f2b0efe2de5605a52c5145d2c3b (patch) | |
| tree | 0730083980308d786e0c44ceb61e4c156748b071 /board/isee | |
| parent | fdce7b633a1de24456226b18527cc7900c34282a (diff) | |
ARM: AM33xx: Cleanup dplls data
Locking sequence for all the dplls is same.
In the current code same sequence is done repeatedly
for each dpll. Instead have a generic function
for locking dplls and pass dpll data to that function.
This is derived from OMAP4 boards.
Signed-off-by: Lokesh Vutla <[email protected]>
Tested-by: Heiko Schocher <[email protected]>
Acked-by: Heiko Schocher <[email protected]>
Diffstat (limited to 'board/isee')
| -rw-r--r-- | board/isee/igep0033/board.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/isee/igep0033/board.c b/board/isee/igep0033/board.c index c0f0c0db434..034a8aa7ceb 100644 --- a/board/isee/igep0033/board.c +++ b/board/isee/igep0033/board.c @@ -66,6 +66,16 @@ static struct emif_regs ddr3_emif_reg_data = { .zq_config = K4B2G1646EBIH9_ZQ_CFG, .emif_ddr_phy_ctlr_1 = K4B2G1646EBIH9_EMIF_READ_LATENCY, }; + +#define OSC (V_OSCK/1000000) +const struct dpll_params dpll_ddr = { + 303, OSC-1, 1, -1, -1, -1, -1}; + +const struct dpll_params *get_dpll_ddr_params(void) +{ + return &dpll_ddr; +} + #endif /* |
