mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 07:24:46 +00:00
ram: renesas: dbsc5: Fix DBTR11 calculation
Reinstate missing increment by two in DBTR11 calculation based on the original DBSC5 initialization code rev.0.80. The original code did ... ODTLon - (js2[JS2_tODTon_min] - 1) + 1 , which was incorrectly converted into ODTLon - js2[JS2_tODTon_min], but should have been converted to ODTLon - js2[JS2_tODTon_min] + 2. Add the missing +2 . Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
parent
9a106f15fa
commit
da7662f6bb
1 changed files with 1 additions and 1 deletions
|
@ -2635,7 +2635,7 @@ static void dbsc5_dbsc_regset(struct udevice *dev)
|
|||
*/
|
||||
dbsc5_reg_write(regs_dbsc_d + DBSC_DBTR(11),
|
||||
priv->RL + 4 + priv->js2[JS2_tWCK2DQO_HF] -
|
||||
js1[priv->js1_ind].ODTLon - priv->js2[JS2_tODTon_min]);
|
||||
js1[priv->js1_ind].ODTLon - priv->js2[JS2_tODTon_min] + 2);
|
||||
|
||||
/* DBTR12.TWRRD_S : WL + BL/2 + tWTR_S, TWRRD_L : WL + BL + tWTR_L */
|
||||
dbsc5_reg_write(regs_dbsc_d + DBSC_DBTR(12),
|
||||
|
|
Loading…
Add table
Reference in a new issue