summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-07-19 05:42:43 +0200
committerMarek Vasut <marex@denx.de>2015-08-08 14:14:19 +0200
commita80f45346e77eee313df65187f3e1a8d2dcca971 (patch)
treeaecce95e452f620f45d59fc6e92e8eef626a1c9f
parent35ee867fc28614dcbd23897f42e78e6cc8ad9151 (diff)
ddr: altera: Clean up sdr_*_phase() part 8
The work_bgn parameter of sdr_nonworking_phase() is unused, zap it. Signed-off-by: Marek Vasut <marex@denx.de>
-rw-r--r--drivers/ddr/altera/sequencer.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/ddr/altera/sequencer.c b/drivers/ddr/altera/sequencer.c
index d93b5fee49..e6fb576d84 100644
--- a/drivers/ddr/altera/sequencer.c
+++ b/drivers/ddr/altera/sequencer.c
@@ -1445,10 +1445,8 @@ static void sdr_backup_phase(uint32_t grp,
scc_mgr_set_dqs_en_delay_all_ranks(grp, 0);
}
-static int sdr_nonworking_phase(uint32_t grp,
- uint32_t *work_bgn, uint32_t *v, uint32_t *d,
- uint32_t *p, uint32_t *i,
- uint32_t *work_end)
+static int sdr_nonworking_phase(uint32_t grp, uint32_t *v, uint32_t *d,
+ uint32_t *p, uint32_t *i, uint32_t *work_end)
{
int ret;
@@ -1586,8 +1584,7 @@ static uint32_t rw_mgr_mem_calibrate_vfifo_find_dqs_en_phase(uint32_t grp)
/* ********************************************************* */
/* * step 4a: go forward from working phase to non working
phase, increment in ptaps * */
- if (sdr_nonworking_phase(grp, &work_bgn, &v, &d, &p,
- &i, &work_end))
+ if (sdr_nonworking_phase(grp, &v, &d, &p, &i, &work_end))
return 0;
/* ********************************************************* */