mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-21 03:54:34 +00:00

Move ddr driver code to common directory, so that the same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com> Change-Id: I9aef73d3e9a027a127ce7483b72d339559866727
13 lines
391 B
Makefile
13 lines
391 B
Makefile
#
|
|
# 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
|