projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18c24c1
)
ram: rk3328: Fix loading of skew values
author
Simon South
<simon@simonsouth.net>
Sun, 6 Oct 2019 16:28:14 +0000
(12:28 -0400)
committer
Kever Yang
<kever.yang@rock-chips.com>
Sun, 10 Nov 2019 12:40:20 +0000
(20:40 +0800)
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>
drivers/ram/rockchip/sdram_rk3328.c
patch
|
blob
|
history
diff --git
a/drivers/ram/rockchip/sdram_rk3328.c
b/drivers/ram/rockchip/sdram_rk3328.c
index 0541bbadf074bae845bf9032bceec800c96a8473..e84c9be6a29443f176a33cc2238ba33b596f38d9 100644
(file)
--- a/
drivers/ram/rockchip/sdram_rk3328.c
+++ b/
drivers/ram/rockchip/sdram_rk3328.c
@@
-394,7
+394,7
@@
static void phy_cfg(struct dram_info *dram,
copy_to_reg(PHY_REG(phy_base, 0x70),
&sdram_params->skew.cs0_dm0_skew[0], 44 * 4);
copy_to_reg(PHY_REG(phy_base, 0xc0),
- &sdram_params->skew.cs
0_dm1
_skew[0], 44 * 4);
+ &sdram_params->skew.cs
1_dm0
_skew[0], 44 * 4);
}
static int update_refresh_reg(struct dram_info *dram)