summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-11-15 19:46:39 +0100
committerHans de Goede <hdegoede@redhat.com>2015-01-14 14:56:36 +0100
commit37781a1a7e04a21feaa75ffac0723ec8f99dce19 (patch)
tree1e8b99593947ae0dce16c58db4b7d909009132be /configs
parent5f88ed5cde04612e5b4520327b82d81a3f5493a0 (diff)
downloadu-boot-imx-37781a1a7e04a21feaa75ffac0723ec8f99dce19.zip
u-boot-imx-37781a1a7e04a21feaa75ffac0723ec8f99dce19.tar.gz
u-boot-imx-37781a1a7e04a21feaa75ffac0723ec8f99dce19.tar.bz2
sun6i: Make dram clk and zq value Kconfig options
It turns out that there is a too large spread between boards to handle this with a default value, turn this into Kconfig options, and set the values the factory images are using for the Colombus and Mele_M9 boards. Note this changes the ZQ default when not overriden through defconfig from 120 to 123, as that is what most boards seem to actually use. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'configs')
-rw-r--r--configs/Colombus_defconfig2
-rw-r--r--configs/Mele_M9_defconfig2
2 files changed, 4 insertions, 0 deletions
diff --git a/configs/Colombus_defconfig b/configs/Colombus_defconfig
index de78a01..9b4968f 100644
--- a/configs/Colombus_defconfig
+++ b/configs/Colombus_defconfig
@@ -5,3 +5,5 @@ CONFIG_USB_KEYBOARD=n
+S:CONFIG_ARCH_SUNXI=y
+S:CONFIG_MACH_SUN6I=y
+S:CONFIG_TARGET_COLOMBUS=y
++S:CONFIG_DRAM_CLK=288
++S:CONFIG_DRAM_ZQ=379
diff --git a/configs/Mele_M9_defconfig b/configs/Mele_M9_defconfig
index ac3cd36..a598254 100644
--- a/configs/Mele_M9_defconfig
+++ b/configs/Mele_M9_defconfig
@@ -5,6 +5,8 @@ CONFIG_FDTFILE="sun6i-a31-m9.dtb"
+S:CONFIG_ARCH_SUNXI=y
+S:CONFIG_MACH_SUN6I=y
+S:CONFIG_TARGET_MELE_M9=y
++S:CONFIG_DRAM_CLK=312
++S:CONFIG_DRAM_ZQ=120
# Ethernet phy power
+S:CONFIG_AXP221_DLDO1_VOLT=3300
# USB hub power