sun8i: Add dram initialization support

Based on the register / dram_para headers from the Allwinner u-boot / linux
sources + the init sequences from boot0.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
This commit is contained in:
Hans de Goede
2014-12-07 14:34:27 +01:00
parent 2367b44d0f
commit 08fd1479c7
8 changed files with 625 additions and 2 deletions

View File

@@ -29,10 +29,11 @@ config MACH_SUN7I
config MACH_SUN8I
bool "sun8i (Allwinner A23)"
select CPU_V7
select SUPPORT_SPL
endchoice
if MACH_SUN6I
if MACH_SUN6I || MACH_SUN8I
config DRAM_CLK
int "sun6i dram clock speed"