]> git.baikalelectronics.ru Git - uboot.git/commit
sunxi: make V3s DRAM initialization more proper
authorIcenowy Zheng <icenowy@aosc.io>
Fri, 16 Oct 2020 09:33:08 +0000 (17:33 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 22 Oct 2020 06:10:28 +0000 (11:40 +0530)
commitfd45600f6e175ff514b4c3c99707a2f7143d8d33
treeba7d86c865f84f623dcce9d11d5762f512749e54
parent3f388041426788ae40342fe9926859b2558c6f07
sunxi: make V3s DRAM initialization more proper

Previously, because we have no source code about the DRAM initialization
of V3s and missing some configurations (delays and MBUS QoS info), our
V3s DRAM initialization sequence is hacked from the H3 one.

As the SDK shipped with PineCube contains source code for V3s libdram,
we can retrieve these information from it and tweak some other magic
bits.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/include/asm/arch-sunxi/cpu.h
arch/arm/mach-sunxi/dram_sunxi_dw.c