diff options
author | YouMin Chen <cym@rock-chips.com> | 2019-11-15 11:04:47 +0800 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-11-17 16:23:56 +0800 |
commit | 410d7863bc96eaa19d003c303c47f7a8a7492380 (patch) | |
tree | ab22951f563f1a63826e1197185abfcad7b61f08 /drivers | |
parent | f8088bfc85fb63c59726179e5921810829bef021 (diff) | |
download | u-boot-410d7863bc96eaa19d003c303c47f7a8a7492380.zip u-boot-410d7863bc96eaa19d003c303c47f7a8a7492380.tar.gz u-boot-410d7863bc96eaa19d003c303c47f7a8a7492380.tar.bz2 |
ram: rk3399: fix error about get_ddrc0_con reg addr
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ram/rockchip/sdram_rk3399.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ram/rockchip/sdram_rk3399.c b/drivers/ram/rockchip/sdram_rk3399.c index 74ac73d..ffc266a 100644 --- 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->ddrc0_con1; + return (channel == 0) ? &dram->grf->ddrc0_con0 : &dram->grf->ddrc1_con0; } static void rkclk_ddr_reset(struct rk3399_cru *cru, u32 channel, u32 ctl, |