summaryrefslogtreecommitdiff
path: root/drivers/ddr/marvell/a38x/ddr3_training_leveling.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-07-23 09:02:28 -0400
committerTom Rini <trini@konsulko.com>2015-07-23 09:02:28 -0400
commit3c9cc70d7153da442575112d9a2643eecd17d534 (patch)
treeb7f2abf20d86dfcb99e4a5406c3dd1b85c176b9f /drivers/ddr/marvell/a38x/ddr3_training_leveling.h
parent6b9f9eadffb5f64801746593784e12f07f2fadd0 (diff)
parent9e30b31d20f0b793465d07f056b3d9885f578c0d (diff)
downloadu-boot-imx-3c9cc70d7153da442575112d9a2643eecd17d534.zip
u-boot-imx-3c9cc70d7153da442575112d9a2643eecd17d534.tar.gz
u-boot-imx-3c9cc70d7153da442575112d9a2643eecd17d534.tar.bz2
Merge git://git.denx.de/u-boot-marvell
Diffstat (limited to 'drivers/ddr/marvell/a38x/ddr3_training_leveling.h')
-rw-r--r--drivers/ddr/marvell/a38x/ddr3_training_leveling.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/ddr/marvell/a38x/ddr3_training_leveling.h b/drivers/ddr/marvell/a38x/ddr3_training_leveling.h
new file mode 100644
index 0000000..f2b4177
--- /dev/null
+++ b/drivers/ddr/marvell/a38x/ddr3_training_leveling.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) Marvell International Ltd. and its affiliates
+ *
+ * SPDX-License-Identifier: GPL-2.0
+ */
+
+#ifndef _DDR3_TRAINING_LEVELING_H_
+#define _DDR3_TRAINING_LEVELING_H_
+
+#define MAX_DQ_READ_LEVELING_DELAY 15
+
+int ddr3_tip_print_wl_supp_result(u32 dev_num);
+int ddr3_tip_calc_cs_mask(u32 dev_num, u32 if_id, u32 effective_cs,
+ u32 *cs_mask);
+u32 hws_ddr3_tip_max_cs_get(void);
+
+#endif /* _DDR3_TRAINING_LEVELING_H_ */