diff options
author | Eric Nelson <eric@nelint.com> | 2016-10-30 16:33:50 -0700 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2018-09-20 17:22:43 +0200 |
commit | 9967afe7f2bdc9473667f3f059828f22ecb8bc8b (patch) | |
tree | b74df3ce3d5709afea68754ba8afa09a3bc4420c /arch/arm/cpu/armv7/mx6/Kconfig | |
parent | 2c7e3da3c2545bbb97e89db3b8ab061c9a3388d4 (diff) |
ARM: mx6: ddr: use Kconfig for inclusion of DDR calibration routines
The DDR calibration routines are gated by conditionals for the
i.MX6DQ SOCs, but with the use of the sysinfo parameter, these
are usable on at least i.MX6SDL and i.MX6SL variants with DDR3.
Also, since only the Novena board currently uses the dynamic
DDR calibration routines, these routines waste space on other
boards using SPL.
Add a KConfig entry to allow boards to selectively include the
DDR calibration routines.
Signed-off-by: Eric Nelson <eric@nelint.com>
(cherry picked from commit a425bf72816abbc3996540e42c33a386e8b8a221)
Diffstat (limited to 'arch/arm/cpu/armv7/mx6/Kconfig')
-rw-r--r-- | arch/arm/cpu/armv7/mx6/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig index 51377e22a7..325c72a9f7 100644 --- a/arch/arm/cpu/armv7/mx6/Kconfig +++ b/arch/arm/cpu/armv7/mx6/Kconfig @@ -37,6 +37,14 @@ config MX6ULL bool select MX6UL +config MX6_DDRCAL + bool "Include dynamic DDR calibration routines" + depends on SPL + default n + help + Say "Y" if your board uses dynamic (per-boot) DDR calibration. + If unsure, say N. + choice prompt "MX6 board select" optional |