aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/board/freescale/imx8mn_evk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/board/freescale/imx8mn_evk/Makefile')
-rw-r--r--roms/u-boot/board/freescale/imx8mn_evk/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/roms/u-boot/board/freescale/imx8mn_evk/Makefile b/roms/u-boot/board/freescale/imx8mn_evk/Makefile
new file mode 100644
index 000000000..42d117972
--- /dev/null
+++ b/roms/u-boot/board/freescale/imx8mn_evk/Makefile
@@ -0,0 +1,18 @@
+#
+# Copyright 2018 NXP
+#
+# SPDX-License-Identifier: GPL-2.0+
+#
+
+obj-y += imx8mn_evk.o
+
+ifdef CONFIG_SPL_BUILD
+obj-y += spl.o
+ifdef CONFIG_IMX8MN_LOW_DRIVE_MODE
+obj-$(CONFIG_IMX8M_LPDDR4) += lpddr4_timing_ld.o
+obj-$(CONFIG_IMX8M_DDR4) += ddr4_timing_ld.o
+else
+obj-$(CONFIG_IMX8M_LPDDR4) += lpddr4_timing.o
+obj-$(CONFIG_IMX8M_DDR4) += ddr4_timing.o
+endif
+endif