summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/imx8m/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ddr/imx/imx8m/Makefile')
-rw-r--r--drivers/ddr/imx/imx8m/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/ddr/imx/imx8m/Makefile b/drivers/ddr/imx/imx8m/Makefile
new file mode 100644
index 0000000000..64f9ab20e6
--- /dev/null
+++ b/drivers/ddr/imx/imx8m/Makefile
@@ -0,0 +1,11 @@
+#
+# Copyright 2018 NXP
+#
+# SPDX-License-Identifier: GPL-2.0+
+#
+
+ifdef CONFIG_SPL_BUILD
+obj-$(CONFIG_IMX8M_DRAM) += helper.o ddrphy_utils.o ddrphy_train.o ddrphy_csr.o
+obj-$(CONFIG_IMX8M_LPDDR4) += lpddr4_init.o
+obj-$(CONFIG_IMX8M_DDR4) += ddr4_init.o
+endif