summaryrefslogtreecommitdiff
path: root/board/ti/ks2_evm/ddr3_cfg.h
diff options
context:
space:
mode:
authorHao Zhang <hzhang@ti.com>2014-07-09 20:44:49 (GMT)
committerTom Rini <trini@ti.com>2014-07-25 20:26:11 (GMT)
commitb1babef856f936278d24bd0bf84f9cf702df2392 (patch)
tree6974dfff2f7343cf53682295256acc5a533d48e9 /board/ti/ks2_evm/ddr3_cfg.h
parent2221cd12cddeecd88ae2d8d6ec4e5ca390b14dc7 (diff)
downloadu-boot-b1babef856f936278d24bd0bf84f9cf702df2392.tar.xz
keystone: ddr3: move K2HK DDR3 configuration to a common file
It's convenient to hold configurations for DDR3 PHY and EMIF in separate common place. This patch moves K2HK DDR3 PHY and EMIF configuration data with different rates and memory size to a common ddr3_cfg.c file. Acked-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Diffstat (limited to 'board/ti/ks2_evm/ddr3_cfg.h')
-rw-r--r--board/ti/ks2_evm/ddr3_cfg.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/board/ti/ks2_evm/ddr3_cfg.h b/board/ti/ks2_evm/ddr3_cfg.h
new file mode 100644
index 0000000..d14bac3
--- /dev/null
+++ b/board/ti/ks2_evm/ddr3_cfg.h
@@ -0,0 +1,21 @@
+/*
+ * Keystone2: DDR3 configuration
+ *
+ * (C) Copyright 2012-2014
+ * Texas Instruments Incorporated, <www.ti.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __DDR3_CFG_H
+#define __DDR3_CFG_H
+
+extern struct ddr3_phy_config ddr3phy_1600_8g;
+extern struct ddr3_emif_config ddr3_1600_8g;
+
+extern struct ddr3_phy_config ddr3phy_1333_2g;
+extern struct ddr3_emif_config ddr3_1333_2g;
+
+int ddr3_get_dimm_params(char *dimm_name);
+
+#endif /* __DDR3_CFG_H */