aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/drivers/ram/stm32mp1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/drivers/ram/stm32mp1/Makefile')
-rw-r--r--roms/u-boot/drivers/ram/stm32mp1/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/roms/u-boot/drivers/ram/stm32mp1/Makefile b/roms/u-boot/drivers/ram/stm32mp1/Makefile
new file mode 100644
index 000000000..e1e913560
--- /dev/null
+++ b/roms/u-boot/drivers/ram/stm32mp1/Makefile
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
+#
+# Copyright (C) 2018, STMicroelectronics - All Rights Reserved
+#
+
+obj-y += stm32mp1_ram.o
+obj-y += stm32mp1_ddr.o
+
+obj-$(CONFIG_STM32MP1_DDR_INTERACTIVE) += stm32mp1_interactive.o
+obj-$(CONFIG_STM32MP1_DDR_TESTS) += stm32mp1_tests.o
+obj-$(CONFIG_STM32MP1_DDR_TUNING) += stm32mp1_tuning.o
+
+ifneq ($(DDR_INTERACTIVE),)
+CFLAGS_stm32mp1_interactive.o += -DCONFIG_STM32MP1_DDR_INTERACTIVE_FORCE=y
+endif