mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
sunxi: Fix write to H616 DRAM CR register
Vendor DRAM code actually writes to whole CR register and not just sets bit 31 in mctl_ctrl_init(). Just to be safe, do that here too. Acked-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
This commit is contained in:
committed by
Andre Przywara
parent
f050069297
commit
7230bebfe3
@@ -873,7 +873,7 @@ static bool mctl_ctrl_init(struct dram_para *para)
|
||||
writel(0x06000400, &mctl_ctl->unk_0x3240);
|
||||
writel(0x06000400, &mctl_ctl->unk_0x4240);
|
||||
|
||||
setbits_le32(&mctl_com->cr, BIT(31));
|
||||
writel(BIT(31), &mctl_com->cr);
|
||||
|
||||
mctl_set_addrmap(para);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user