diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-11-15 19:46:39 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-01-14 14:56:36 +0100 |
commit | 37781a1a7e04a21feaa75ffac0723ec8f99dce19 (patch) | |
tree | 1e8b99593947ae0dce16c58db4b7d909009132be /board/sunxi | |
parent | 5f88ed5cde04612e5b4520327b82d81a3f5493a0 (diff) | |
download | u-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 'board/sunxi')
-rw-r--r-- | board/sunxi/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 5ae491d..f7da704 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -32,6 +32,23 @@ config MACH_SUN8I endchoice +if MACH_SUN6I + +config DRAM_CLK + int "sun6i dram clock speed" + default 312 + ---help--- + Set the dram clock speed, valid range 240 - 480, must be a multiple + of 24. + +config DRAM_ZQ + int "sun6i dram zq value" + default 123 + ---help--- + Set the dram zq value. + +endif + config SYS_CONFIG_NAME default "sun4i" if MACH_SUN4I default "sun5i" if MACH_SUN5I |