driver/ddr: Fix DDR register timing_cfg_8
The field wrtord_bg should add 2 clocks if on the fly chop is enabled, according to DDR controller manual for DDR4. Signed-off-by: York Sun <yorksun@freescale.com>
This commit is contained in:
parent
de51916310
commit
3d75ec95f5
1 changed files with 3 additions and 0 deletions
|
@ -1857,6 +1857,9 @@ static void set_timing_cfg_8(fsl_ddr_cfg_regs_t *ddr,
|
|||
|
||||
acttoact_bg = picos_to_mclk(common_dimm->trrdl_ps);
|
||||
wrtord_bg = max(4, picos_to_mclk(7500));
|
||||
if (popts->otf_burst_chop_en)
|
||||
wrtord_bg += 2;
|
||||
|
||||
pre_all_rec = 0;
|
||||
|
||||
ddr->timing_cfg_8 = (0
|
||||
|
|
Loading…
Reference in a new issue