summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/imx8m/Makefile
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2018-11-20 13:19:57 +0300
committerStefano Babic <sbabic@denx.de>2019-01-01 16:12:18 +0300
commite3963c0943042afcb38d99041a8dc3d55f092f5f (patch)
treeee4a40cfcd66bd1d422b2b0a28bdd0cd8e3daf8a /drivers/ddr/imx/imx8m/Makefile
parent389023ced09e63f2f870a8ec2aa83276906bce6b (diff)
downloadu-boot-e3963c0943042afcb38d99041a8dc3d55f092f5f.tar.xz
drivers: ddr: introduce DDR driver for i.MX8M
Introduce DDR driver for i.MX8M. The driver will be used by SPL to initialze DDR PHY and DDR Controller. Signed-off-by: Peng Fan <peng.fan@nxp.com>
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