diff options
author | Marek Vasut <marex@denx.de> | 2015-07-19 04:29:21 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 14:14:18 +0200 |
commit | 0d304ce5536f2108cf9a7a1521cc16efa1352988 (patch) | |
tree | b38ae8a5f752823e2b496f4197cf7ba0ea92c326 | |
parent | 0a13a0fb7a2db238c1d4c4313d28455125e08e45 (diff) |
ddr: altera: Clean up sdr_*_phase() part 1
Rename find_working_phase() to sdr_working_phase() for the
sake of consistency.
Signed-off-by: Marek Vasut <marex@denx.de>
-rw-r--r-- | drivers/ddr/altera/sequencer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ddr/altera/sequencer.c b/drivers/ddr/altera/sequencer.c index 451e141854..61ddc2c320 100644 --- a/drivers/ddr/altera/sequencer.c +++ b/drivers/ddr/altera/sequencer.c @@ -1332,7 +1332,7 @@ static int find_vfifo_read(uint32_t grp, uint32_t *bit_chk) } } -static int find_working_phase(uint32_t *grp, uint32_t *bit_chk, +static int sdr_working_phase(uint32_t *grp, uint32_t *bit_chk, uint32_t dtaps_per_ptap, uint32_t *work_bgn, uint32_t *v, uint32_t *d, uint32_t *p, uint32_t *i, uint32_t *max_working_cnt) @@ -1579,8 +1579,8 @@ static uint32_t rw_mgr_mem_calibrate_vfifo_find_dqs_en_phase(uint32_t grp) /* ******************************************************** */ /* * step 2: find first working phase, increment in ptaps * */ work_bgn = 0; - if (find_working_phase(&grp, &bit_chk, dtaps_per_ptap, &work_bgn, &v, &d, - &p, &i, &max_working_cnt) == 0) + if (sdr_working_phase(&grp, &bit_chk, dtaps_per_ptap, &work_bgn, &v, &d, + &p, &i, &max_working_cnt) == 0) return 0; work_end = work_bgn; |