summaryrefslogtreecommitdiffstats
path: root/board/sunxi
diff options
context:
space:
mode:
authorVishnu Patekar <vishnupatekar0510@gmail.com>2016-01-12 01:20:58 +0800
committerHans de Goede <hdegoede@redhat.com>2016-01-26 16:20:05 +0100
commitf5fd8caf7f0e5e0c6c09eb620fc4f7564290f27b (patch)
treeb4560e3d9ac0d993d98950b60f2735f1df4d396f /board/sunxi
parent627b380f62802d06a9d47ec5407ef1cf7a751275 (diff)
downloadtalos-obmc-uboot-f5fd8caf7f0e5e0c6c09eb620fc4f7564290f27b.tar.gz
talos-obmc-uboot-f5fd8caf7f0e5e0c6c09eb620fc4f7564290f27b.zip
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>
Diffstat (limited to 'board/sunxi')
-rw-r--r--board/sunxi/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 8a30d08467..a334aa336d 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -95,6 +95,12 @@ config MACH_SUN8I
bool
default y if MACH_SUN8I_A23 || MACH_SUN8I_A33 || MACH_SUN8I_H3 || MACH_SUN8I_A83T
+config DRAM_TYPE
+ int "sunxi dram type"
+ depends on MACH_SUN8I_A83T
+ default 3
+ ---help---
+ Set the dram type, 3: DDR3, 7: LPDDR3
config DRAM_CLK
int "sunxi dram clock speed"
OpenPOWER on IntegriCloud