blob: 94836866c54136d27c96e145a841f9e7f6e31d43 [file] [log] [blame]
Lad Prabhakar7fda4b02021-03-09 17:26:38 +00001#
2# Copyright (c) 2015-2021, Renesas Electronics Corporation. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
Lad Prabhakar83472842021-03-19 10:53:23 +00007ifeq ($(RCAR_LSI),$(filter $(RCAR_LSI),${RCAR_E3} ${RZ_G2E}))
Lad Prabhakar7fda4b02021-03-09 17:26:38 +00008 include drivers/renesas/common/ddr/ddr_a/ddr_a.mk
9 BL2_SOURCES += drivers/renesas/common/ddr/dram_sub_func.c
10else ifeq (${RCAR_LSI},${RCAR_D3})
11 include drivers/renesas/common/ddr/ddr_a/ddr_a.mk
12else ifeq (${RCAR_LSI},${RCAR_V3M})
13 include drivers/renesas/common/ddr/ddr_a/ddr_a.mk
14else
15 include drivers/renesas/common/ddr/ddr_b/ddr_b.mk
16 BL2_SOURCES += drivers/renesas/common/ddr/dram_sub_func.c
17endif