]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: Use H3/A64 DRAM initialization code for R40
authorChen-Yu Tsai <wens@csie.org>
Thu, 1 Dec 2016 11:09:57 +0000 (19:09 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 20 Apr 2017 11:30:01 +0000 (13:30 +0200)
commit8201188cf9e4fb8ce5277e4d59a458be536db927
tree6561271ea98e0dc2c240a474b8376a970d1f6421
parent33559ffe5bc0ea10ae9956a0ac3fbd1cc30d23b8
sunxi: Use H3/A64 DRAM initialization code for R40

The R40 seems to have a variant of the memory controller found in
the H3 and A64 SoCs. Adapt the code for use on the R40. The changes
are based on released DRAM code and comparing register dumps from
boot0.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/include/asm/arch-sunxi/cpu.h
arch/arm/include/asm/arch-sunxi/dram.h
arch/arm/include/asm/arch-sunxi/dram_sun8i_h3.h
arch/arm/mach-sunxi/Makefile
arch/arm/mach-sunxi/clock_sun6i.c
arch/arm/mach-sunxi/dram_sun8i_h3.c