mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-22 07:01:39 +00:00
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>
This commit is contained in:
parent
35ee867fc2
commit
a80f45346e
1 changed files with 3 additions and 6 deletions
|
@ -1445,10 +1445,8 @@ static void sdr_backup_phase(uint32_t grp,
|
||||||
scc_mgr_set_dqs_en_delay_all_ranks(grp, 0);
|
scc_mgr_set_dqs_en_delay_all_ranks(grp, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int sdr_nonworking_phase(uint32_t grp,
|
static int sdr_nonworking_phase(uint32_t grp, uint32_t *v, uint32_t *d,
|
||||||
uint32_t *work_bgn, uint32_t *v, uint32_t *d,
|
uint32_t *p, uint32_t *i, uint32_t *work_end)
|
||||||
uint32_t *p, uint32_t *i,
|
|
||||||
uint32_t *work_end)
|
|
||||||
{
|
{
|
||||||
int ret;
|
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
|
/* * step 4a: go forward from working phase to non working
|
||||||
phase, increment in ptaps * */
|
phase, increment in ptaps * */
|
||||||
if (sdr_nonworking_phase(grp, &work_bgn, &v, &d, &p,
|
if (sdr_nonworking_phase(grp, &v, &d, &p, &i, &work_end))
|
||||||
&i, &work_end))
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/* ********************************************************* */
|
/* ********************************************************* */
|
||||||
|
|
Loading…
Add table
Reference in a new issue