aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h')
-rw-r--r--roms/u-boot/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/roms/u-boot/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h b/roms/u-boot/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h
new file mode 100644
index 000000000..59c189115
--- /dev/null
+++ b/roms/u-boot/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h
@@ -0,0 +1,26 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2017 NXP
+ * Copyright 2020 Linaro
+ *
+ */
+
+#ifndef __COMPULAB_DDR_H__
+#define __COMPULAB_DDR_H__
+
+extern struct dram_timing_info ucm_dram_timing_ff020008;
+extern struct dram_timing_info ucm_dram_timing_ff000110;
+extern struct dram_timing_info ucm_dram_timing_01061010;
+
+void spl_dram_init_compulab(void);
+
+#define TCM_DATA_CFG 0x7e0000
+
+struct lpddr4_tcm_desc {
+ unsigned int size;
+ unsigned int sign;
+ unsigned int index;
+ unsigned int count;
+};
+
+#endif