summaryrefslogtreecommitdiffstats
path: root/include/configs/k2hk_evm.h
diff options
context:
space:
mode:
authorVitaly Andrianov <vitalya@ti.com>2016-03-04 10:36:42 -0600
committerTom Rini <trini@konsulko.com>2016-03-14 19:18:44 -0400
commitd9a76e77c8c99dc6da98aef94e0a241581d1cbe7 (patch)
treed823639ecb785a4a1001e72e22b77f4615bc129d /include/configs/k2hk_evm.h
parentef76ebb1ef7b9b4c72c71b003c6617187e4cd7d9 (diff)
downloadtalos-obmc-uboot-d9a76e77c8c99dc6da98aef94e0a241581d1cbe7.tar.gz
talos-obmc-uboot-d9a76e77c8c99dc6da98aef94e0a241581d1cbe7.zip
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 'include/configs/k2hk_evm.h')
-rw-r--r--include/configs/k2hk_evm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/k2hk_evm.h b/include/configs/k2hk_evm.h
index 6c6dcb1e5e..3cd2a85a2d 100644
--- a/include/configs/k2hk_evm.h
+++ b/include/configs/k2hk_evm.h
@@ -37,4 +37,6 @@
#define CONFIG_KSNET_NETCP_V1_0
#define CONFIG_KSNET_CPSW_NUM_PORTS 5
+#define CONFIG_DDR_SPD
+
#endif /* __CONFIG_K2HK_EVM_H */
OpenPOWER on IntegriCloud