diff options
author | Vishnu Patekar <vishnupatekar0510@gmail.com> | 2015-03-01 23:49:39 +0530 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-05-04 16:51:51 +0200 |
commit | ffc0ae0c70decbe5a91001cbe97e0a511bdf6e88 (patch) | |
tree | 5b42d5a4ae929a68645212ab0aa05a63a03d7367 /arch/arm/include/asm/arch-sunxi/dram.h | |
parent | 886a7b45ef48e97a8d4a226a3a3d84b5f89b4ee2 (diff) |
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>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/dram.h')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/dram.h | 2 |
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 bb96cc572a..273f80fe88 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 |