summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-sunxi/dram.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-12-07 14:34:27 +0100
committerHans de Goede <hdegoede@redhat.com>2015-01-14 14:56:37 +0100
commit08fd1479c7354bcef528a65dba44406aaab08e26 (patch)
treecdd81018ad1e2ffc3b3008b1659371144e168cc8 /arch/arm/include/asm/arch-sunxi/dram.h
parent2367b44d0f40f8be0e82c5df459b7ec5fc3f0155 (diff)
downloadu-boot-imx-08fd1479c7354bcef528a65dba44406aaab08e26.zip
u-boot-imx-08fd1479c7354bcef528a65dba44406aaab08e26.tar.gz
u-boot-imx-08fd1479c7354bcef528a65dba44406aaab08e26.tar.bz2
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>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/dram.h')
-rw-r--r--arch/arm/include/asm/arch-sunxi/dram.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/dram.h b/arch/arm/include/asm/arch-sunxi/dram.h
index a8a37d5..8d78029 100644
--- a/arch/arm/include/asm/arch-sunxi/dram.h
+++ b/arch/arm/include/asm/arch-sunxi/dram.h
@@ -18,6 +18,8 @@
/* dram regs definition */
#if defined(CONFIG_MACH_SUN6I)
#include <asm/arch/dram_sun6i.h>
+#elif defined(CONFIG_MACH_SUN8I)
+#include <asm/arch/dram_sun8i.h>
#else
#include <asm/arch/dram_sun4i.h>
#endif