ARM: DRA: Fix period calculation in iodelay recalib sequence
A divider of 5 is required to get the right period value to be set for a given sysclk frequency. This is a fixed-constant for all sysclks. Signed-off-by: Sricharan R <r.sricharan@ti.com>
This commit is contained in:
parent
2a5788adc4
commit
861e94936c
|
@ -327,6 +327,7 @@ void recalibrate_io_delay(void)
|
||||||
|
|
||||||
/* period in ps */
|
/* period in ps */
|
||||||
period = mhz / (period/mhz);
|
period = mhz / (period/mhz);
|
||||||
|
period /= 5;
|
||||||
writel(temp | period, (*ctrl)->iodelay_config_reg_2);
|
writel(temp | period, (*ctrl)->iodelay_config_reg_2);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue