| 1 |
# |
| 2 |
# Copyright (c) 2015-2021, Renesas Electronics Corporation. All rights reserved. |
| 3 |
# |
| 4 |
# SPDX-License-Identifier: BSD-3-Clause |
| 5 |
# |
| 6 |
|
| 7 |
ifeq ($(RCAR_LSI),$(filter $(RCAR_LSI),${RCAR_E3} ${RZ_G2E})) |
| 8 |
include drivers/renesas/common/ddr/ddr_a/ddr_a.mk |
| 9 |
BL2_SOURCES += drivers/renesas/common/ddr/dram_sub_func.c |
| 10 |
else ifeq (${RCAR_LSI},${RCAR_D3}) |
| 11 |
include drivers/renesas/common/ddr/ddr_a/ddr_a.mk |
| 12 |
else ifeq (${RCAR_LSI},${RCAR_V3M}) |
| 13 |
include drivers/renesas/common/ddr/ddr_a/ddr_a.mk |
| 14 |
else |
| 15 |
include drivers/renesas/common/ddr/ddr_b/ddr_b.mk |
| 16 |
BL2_SOURCES += drivers/renesas/common/ddr/dram_sub_func.c |
| 17 |
endif |