mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-14 19:26:58 +02:00
ram: rk3328: Fix loading of skew values
Fix a typo that caused incorrect values to be loaded into the DRAM controller's deskew registers. Signed-off-by: Simon South <simon@simonsouth.net> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
18c24c1177
commit
c4b9d66f11
@ -394,7 +394,7 @@ static void phy_cfg(struct dram_info *dram,
|
|||||||
copy_to_reg(PHY_REG(phy_base, 0x70),
|
copy_to_reg(PHY_REG(phy_base, 0x70),
|
||||||
&sdram_params->skew.cs0_dm0_skew[0], 44 * 4);
|
&sdram_params->skew.cs0_dm0_skew[0], 44 * 4);
|
||||||
copy_to_reg(PHY_REG(phy_base, 0xc0),
|
copy_to_reg(PHY_REG(phy_base, 0xc0),
|
||||||
&sdram_params->skew.cs0_dm1_skew[0], 44 * 4);
|
&sdram_params->skew.cs1_dm0_skew[0], 44 * 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int update_refresh_reg(struct dram_info *dram)
|
static int update_refresh_reg(struct dram_info *dram)
|
||||||
|
Loading…
Reference in New Issue
Block a user