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:
f8088bf
)
ram: rk3399: fix error about get_ddrc0_con reg addr
author
YouMin Chen
<cym@rock-chips.com>
Fri, 15 Nov 2019 03:04:47 +0000
(11:04 +0800)
committer
Kever Yang
<kever.yang@rock-chips.com>
Sun, 17 Nov 2019 08:23:56 +0000
(16:23 +0800)
Correct the register to its correct name.
Signed-off-by: YouMin Chen <cym@rock-chips.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
drivers/ram/rockchip/sdram_rk3399.c
patch
|
blob
|
history
diff --git
a/drivers/ram/rockchip/sdram_rk3399.c
b/drivers/ram/rockchip/sdram_rk3399.c
index 74ac73d5b3266e2980f14ba5ac67e22458651a1b..ffc266acc38d77d2e869a099a8a01a9d34195a8a 100644
(file)
--- a/
drivers/ram/rockchip/sdram_rk3399.c
+++ b/
drivers/ram/rockchip/sdram_rk3399.c
@@
-232,7
+232,7
@@
static void *get_denali_phy(const struct chan_info *chan,
static void *get_ddrc0_con(struct dram_info *dram, u8 channel)
{
- return (channel == 0) ? &dram->grf->ddrc0_con0 : &dram->grf->ddrc
0_con1
;
+ return (channel == 0) ? &dram->grf->ddrc0_con0 : &dram->grf->ddrc
1_con0
;
}
static void rkclk_ddr_reset(struct rk3399_cru *cru, u32 channel, u32 ctl,