]> git.dujemihanovic.xyz Git - u-boot.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)
commit0e3160b72323c819e7d48c0ae6eb047eb0fe4648
treeba7d86c865f84f623dcce9d11d5762f512749e54
parentfb5b1678433711091e6f89a1c1ef24c422b5f521
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