summaryrefslogtreecommitdiff
path: root/arch/arm/mach-keystone/Makefile
diff options
context:
space:
mode:
authorVitaly Andrianov <vitalya@ti.com>2016-03-04 16:36:42 (GMT)
committerTom Rini <trini@konsulko.com>2016-03-14 23:18:44 (GMT)
commitd9a76e77c8c99dc6da98aef94e0a241581d1cbe7 (patch)
treed823639ecb785a4a1001e72e22b77f4615bc129d /arch/arm/mach-keystone/Makefile
parentef76ebb1ef7b9b4c72c71b003c6617187e4cd7d9 (diff)
downloadu-boot-fsl-qoriq-d9a76e77c8c99dc6da98aef94e0a241581d1cbe7.tar.xz
ARM: keystone2: use SPD info to configure K2HK and K2E DDR3
This commit replaces hard-coded EMIF and PHY DDR3 configurations for predefined SODIMMs to a calculated configuration. The SODIMM parameters are read from SODIMM's SPD and used to calculated the configuration. The current commit supports calculation for DDR3 with 1600MHz and 1333MHz only. Signed-off-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/mach-keystone/Makefile')
-rw-r--r--arch/arm/mach-keystone/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-keystone/Makefile b/arch/arm/mach-keystone/Makefile
index ffd9ead..9713fe4 100644
--- a/arch/arm/mach-keystone/Makefile
+++ b/arch/arm/mach-keystone/Makefile
@@ -13,3 +13,5 @@ obj-y += cmd_mon.o
obj-y += msmc.o
obj-y += ddr3.o cmd_ddr3.o
obj-y += keystone.o
+obj-$(CONFIG_K2E_EVM) += ddr3_spd.o
+obj-$(CONFIG_K2HK_EVM) += ddr3_spd.o