mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-26 12:27:12 +00:00
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_find_dqs_en_phase() part 5
Fix the data types, constify where applicable. Signed-off-by: Marek Vasut <marex@denx.de>
This commit is contained in:
parent
52e8f217f9
commit
5735540fd9
1 changed files with 6 additions and 6 deletions
|
@ -1593,13 +1593,13 @@ static int sdr_find_window_center(const u32 grp, const u32 work_bgn,
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* find a good dqs enable to use */
|
static u32 rw_mgr_mem_calibrate_vfifo_find_dqs_en_phase(const u32 grp)
|
||||||
static uint32_t rw_mgr_mem_calibrate_vfifo_find_dqs_en_phase(u32 grp)
|
|
||||||
{
|
{
|
||||||
uint32_t d, p, i;
|
u32 d, p, i;
|
||||||
uint32_t dtaps_per_ptap;
|
u32 dtaps_per_ptap;
|
||||||
uint32_t work_bgn, work_end;
|
u32 work_bgn, work_end;
|
||||||
uint32_t found_passing_read, found_failing_read, initial_failing_dtap;
|
u32 found_passing_read, found_failing_read, initial_failing_dtap;
|
||||||
|
int ret;
|
||||||
|
|
||||||
debug("%s:%d %u\n", __func__, __LINE__, grp);
|
debug("%s:%d %u\n", __func__, __LINE__, grp);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue