sunxi: Groundwork to support new dram type for A83T
authorVishnu Patekar <vishnupatekar0510@gmail.com>
Mon, 11 Jan 2016 17:20:58 +0000 (01:20 +0800)
committerHans de Goede <hdegoede@redhat.com>
Tue, 26 Jan 2016 15:20:05 +0000 (16:20 +0100)
commitf5fd8caf7f0e5e0c6c09eb620fc4f7564290f27b
treeb4560e3d9ac0d993d98950b60f2735f1df4d396f
parent627b380f62802d06a9d47ec5407ef1cf7a751275
sunxi: Groundwork to support new dram type for A83T

Different A83T boards have different DRAM types. Banapi M3 has LPDDR3,
Allwinner Homlet v1.2 has DDR3.

This adds groundwork to support for new DRAM type for A83T.

Introduce CONFIG_DRAM_TYPE, It'll be 3 for DDR3 and 7 for LPDDR3, must
be set in respective board defconfig.

Signed-off-by: Vishnu Patekar <vishnupatekar0510@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/cpu/armv7/sunxi/dram_sun8i_a83t.c
arch/arm/include/asm/arch-sunxi/dram_sun8i_a83t.h
board/sunxi/Kconfig