mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-13 23:03:27 +08:00
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>
This commit is contained in:
parent
f8088bfc85
commit
410d7863bc
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user