commit | 575716cf551227e223c79696e90141c576102cc9 | [log] [tgz] |
---|---|---|
author | Vishnu Patekar <vishnupatekar0510@gmail.com> | Sun Mar 01 23:49:39 2015 +0530 |
committer | Hans de Goede <hdegoede@redhat.com> | Mon May 04 16:51:51 2015 +0200 |
tree | 5b42d5a4ae929a68645212ab0aa05a63a03d7367 | |
parent | 0fdbe20bb89aab21adc32ba0603534c5956a35ec [diff] [blame] |
sunxi: Add a33 dram init code Based on Allwinner dram init code from the a33 bsp: https://github.com/allwinner-zh/bootloader/blob/master/basic_loader/bsp/bsp_for_a33/init_dram/mctl_hal.c Initial u-boot port by Vishnu Patekar, major cleanup / rewrite by Hans de Goede. Signed-off-by: Vishnu Patekar <vishnupatekar0510@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
diff --git a/arch/arm/include/asm/arch-sunxi/dram.h b/arch/arm/include/asm/arch-sunxi/dram.h index bb96cc5..273f80f 100644 --- a/arch/arm/include/asm/arch-sunxi/dram.h +++ b/arch/arm/include/asm/arch-sunxi/dram.h
@@ -20,6 +20,8 @@ #include <asm/arch/dram_sun6i.h> #elif defined(CONFIG_MACH_SUN8I_A23) #include <asm/arch/dram_sun8i_a23.h> +#elif defined(CONFIG_MACH_SUN8I_A33) +#include <asm/arch/dram_sun8i_a33.h> #else #include <asm/arch/dram_sun4i.h> #endif