aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/drivers/ddr/altera/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/drivers/ddr/altera/Makefile')
-rw-r--r--roms/u-boot/drivers/ddr/altera/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/roms/u-boot/drivers/ddr/altera/Makefile b/roms/u-boot/drivers/ddr/altera/Makefile
new file mode 100644
index 000000000..39dfee5d5
--- /dev/null
+++ b/roms/u-boot/drivers/ddr/altera/Makefile
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# (C) Copyright 2000-2003
+# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+#
+# (C) Copyright 2010, Thomas Chou <thomas@wytron.com.tw>
+# Copyright (C) 2014 Altera Corporation <www.altera.com>
+
+ifdef CONFIG_$(SPL_)ALTERA_SDRAM
+obj-$(CONFIG_TARGET_SOCFPGA_GEN5) += sdram_gen5.o sequencer.o
+obj-$(CONFIG_TARGET_SOCFPGA_ARRIA10) += sdram_arria10.o
+obj-$(CONFIG_TARGET_SOCFPGA_STRATIX10) += sdram_soc64.o sdram_s10.o
+obj-$(CONFIG_TARGET_SOCFPGA_AGILEX) += sdram_soc64.o sdram_agilex.o
+endif