aboutsummaryrefslogtreecommitdiff
path: root/drivers/renesas/common/ddr/ddr_a/ddr_a.mk
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/renesas/common/ddr/ddr_a/ddr_a.mk')
-rw-r--r--drivers/renesas/common/ddr/ddr_a/ddr_a.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/renesas/common/ddr/ddr_a/ddr_a.mk b/drivers/renesas/common/ddr/ddr_a/ddr_a.mk
new file mode 100644
index 0000000000..ed3a55ebba
--- /dev/null
+++ b/drivers/renesas/common/ddr/ddr_a/ddr_a.mk
@@ -0,0 +1,13 @@
+#
+# Copyright (c) 2015-2021, Renesas Electronics Corporation. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+ifeq (${RCAR_LSI},${RCAR_E3})
+BL2_SOURCES += drivers/renesas/common/ddr/ddr_a/ddr_init_e3.c
+else ifeq (${RCAR_LSI},${RCAR_D3})
+BL2_SOURCES += drivers/renesas/common/ddr/ddr_a/ddr_init_d3.c
+else
+BL2_SOURCES += drivers/renesas/common/ddr/ddr_a/ddr_init_v3m.c
+endif