summaryrefslogtreecommitdiff
path: root/include/configs/k2e_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/k2e_evm.h
parentef76ebb1ef7b9b4c72c71b003c6617187e4cd7d9 (diff)
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/k2e_evm.h')
-rw-r--r--include/configs/k2e_evm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/k2e_evm.h b/include/configs/k2e_evm.h
index 4f4ebf53ec..e053a54d41 100644
--- a/include/configs/k2e_evm.h
+++ b/include/configs/k2e_evm.h
@@ -38,4 +38,6 @@
#define CONFIG_KSNET_CPSW_NUM_PORTS 9
#define CONFIG_KSNET_MDIO_PHY_CONFIG_ENABLE
+#define CONFIG_DDR_SPD
+
#endif /* __CONFIG_K2E_EVM_H */