mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00: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:
parent
f050069297
commit
7230bebfe3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue