sunxi: Add a33 dram init code
authorVishnu Patekar <[email protected]>
Sun, 1 Mar 2015 18:19:39 +0000 (23:49 +0530)
committerHans de Goede <[email protected]>
Mon, 4 May 2015 14:51:51 +0000 (16:51 +0200)
commitffc0ae0c70decbe5a91001cbe97e0a511bdf6e88
tree5b42d5a4ae929a68645212ab0aa05a63a03d7367
parent886a7b45ef48e97a8d4a226a3a3d84b5f89b4ee2
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 <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Acked-by: Ian Campbell <[email protected]>
arch/arm/cpu/armv7/sunxi/dram_sun8i_a33.c [new file with mode: 0644]
arch/arm/include/asm/arch-sunxi/dram.h
arch/arm/include/asm/arch-sunxi/dram_sun8i_a33.h [new file with mode: 0644]